Skip to content

Commit

Permalink
Refactor file paths for artifact uploads
Browse files Browse the repository at this point in the history
The entire pyinstaller file is now uploaded for each platform that the program is compiled on. The executable is still the only thing attached to the release, but this change allows me to download the entire pyinstaller folder from the upload-artifact action and poke around to make sure that everything is working properly. I don't expect this change to fix anything, but it should help me determine the source of the error
  • Loading branch information
Jurassic001 committed Oct 23, 2024
1 parent 8fa26f4 commit 64a5093
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: simple_ytdl_windows
path: ./pyinstaller/dist/simple_ytdl_win32.exe
path: ./pyinstaller

# region Build Linux exe
build-linux:
Expand All @@ -59,7 +59,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: simple_ytdl_linux
path: ./pyinstaller/dist/simple_ytdl_linux
path: ./pyinstaller

# region Build MacOS exe
build-macos:
Expand All @@ -85,7 +85,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: simple_ytdl_macos
path: ./pyinstaller/dist/simple_ytdl_macos
path: ./pyinstaller

# region Create a draft release
release:
Expand Down Expand Up @@ -123,6 +123,6 @@ jobs:
draft: true
prerelease: false
files: |
${{ vars.BUILD_WINDOWS == 'true' && 'simple_ytdl_win32.exe' || '' }}
${{ vars.BUILD_LINUX == 'true' && 'simple_ytdl_linux' || '' }}
${{ vars.BUILD_MACOS == 'true' && 'simple_ytdl_macos' || '' }}
${{ vars.BUILD_WINDOWS == 'true' && 'dist/simple_ytdl_win32.exe' || '' }}
${{ vars.BUILD_LINUX == 'true' && 'dist/simple_ytdl_linux' || '' }}
${{ vars.BUILD_MACOS == 'true' && 'dist/simple_ytdl_macos' || '' }}

0 comments on commit 64a5093

Please sign in to comment.