diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ee3012..9fba110 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Install Dependencies run: | pacman -Syu --noconfirm - pacman -S --noconfirm nodejs mingw-w64-gcc cmake ninja ccache zip git base-devel + pacman -S --noconfirm nodejs mingw-w64-gcc cmake ninja ccache git base-devel - uses: actions/checkout@v4 with: @@ -90,14 +90,12 @@ jobs: echo "Found EXE: $EXE" mkdir -p release cp "$EXE" release/ - if [ -d "res" ]; then cp res/*.json release/; fi - cd release && zip -j ../hex-unlocked.zip * - name: Upload Artifact uses: actions/upload-artifact@v3 with: name: runner-build - path: hex-unlocked.zip + path: release/ - name: Finalize Version and Push Tag if: ${{ github.event_name == 'push' && success() }} @@ -109,7 +107,7 @@ jobs: if: ${{ github.event_name == 'push' && success() }} uses: akkuman/gitea-release-action@v1 with: - files: hex-unlocked.zip + files: release/* tag_name: ${{ steps.calculate-version.outputs.new-tag }} name: Release ${{ steps.calculate-version.outputs.new-tag }} body: ${{ steps.calculate-version.outputs.changelog }} \ No newline at end of file