Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
awdev1 authored Oct 11, 2024
1 parent eb89053 commit 2f4876c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Auto Compile
name: Auto Compile on Commit

on:
push:
Expand All @@ -23,7 +23,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build executable with PyInstaller and spec file
- name: Build
run: |
pyinstaller script.spec # Ensure the correct .spec file is specified
Expand All @@ -34,7 +34,7 @@ jobs:
# run: |
# choco install 7zip.install -y # Using Chocolatey to install 7-Zip

- name: Create ZIP file with specified resources
- name: Create ZIP
run: |
# Move the necessary files to the root of the working directory before zipping
Move-Item -Path "dist\Vector24.exe" -Destination "."
Expand All @@ -47,7 +47,7 @@ jobs:
# Create the zip file
& "C:\Program Files\7-Zip\7z.exe" a -tzip Vector24-ADDVNAME-amd64-win.zip Vector24.exe app.log config.json positions.json startup.mp3 version.json
- name: Upload outer ZIP file as artifact
- name: Upload
uses: actions/upload-artifact@v3
with:
name: final-zip-package
Expand Down

0 comments on commit 2f4876c

Please sign in to comment.