From 564da2b0c3c2664c1cee8ea26dfd2ef14b1cf4af Mon Sep 17 00:00:00 2001 From: rainlizard <15337628+rainlizard@users.noreply.github.com> Date: Tue, 19 Mar 2024 17:47:25 +1100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f3c41970..28df155e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,19 +92,13 @@ jobs: cd ./bin/ExportWindows/ zip -r ../unearth-${{ steps.version_info.outputs.FULL_VERSION }}-windows.zip Unearth/ - - name: Set Release Filenames - if: startsWith(github.ref, 'refs/tags/') - run: | - echo "LINUX_FILENAME=unearth-${{ steps.version_info.outputs.FULL_VERSION }}-linux.zip" >> $GITHUB_ENV - echo "WINDOWS_FILENAME=unearth-${{ steps.version_info.outputs.FULL_VERSION }}-windows.zip" >> $GITHUB_ENV - - name: Upload to itch.io if: startsWith(github.ref, 'refs/tags/') env: BUTLER_API_KEY: ${{ secrets.ITCHIO_API_KEY }} run: | - ./butler push ./bin/${{ env.LINUX_FILENAME }} rainlizard/unearth:linux --userversion ${{ steps.version_info.outputs.FULL_VERSION }} - ./butler push ./bin/${{ env.WINDOWS_FILENAME }} rainlizard/unearth:windows --userversion ${{ steps.version_info.outputs.FULL_VERSION }} + ./butler push ./bin/unearth-${{ steps.version_info.outputs.FULL_VERSION }}-linux.zip rainlizard/unearth:linux --userversion ${{ steps.version_info.outputs.FULL_VERSION }} + ./butler push ./bin/unearth-${{ steps.version_info.outputs.FULL_VERSION }}-windows.zip rainlizard/unearth:windows --userversion ${{ steps.version_info.outputs.FULL_VERSION }} - name: Create Release if: startsWith(github.ref, 'refs/tags/')