From 64a5093bd3da7537b05973ac50280fd4f6975d74 Mon Sep 17 00:00:00 2001 From: Max Haberer Date: Tue, 22 Oct 2024 21:45:34 -0500 Subject: [PATCH] Refactor file paths for artifact uploads 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 --- .github/workflows/release-draft.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index 98c0560..03d7126 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -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: @@ -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: @@ -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: @@ -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' || '' }}