Skip to content

Commit

Permalink
fix: build by name
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Jan 28, 2025
1 parent 94ffd13 commit dbf4c04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,17 @@ jobs:
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
buildName: ${{ github.event.inputs.name }}

- name: upload ${{ matrix.targetPlatform }} build
uses: actions/upload-artifact@v4
id: upload
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
path: build/${{ github.event.inputs.name }}

- name: archive ${{ matrix.targetPlatform }} release
run: cd build/${{ matrix.targetPlatform }} && zip -r ../../${{ github.event.inputs.name }}-${{ matrix.targetPlatform }}.zip .
run: cd build/${{ github.event.inputs.name }} && zip -r ../../${{ github.event.inputs.name }}-${{ matrix.targetPlatform }}.zip .

- name: publish ${{ matrix.targetPlatform }} pre-release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit dbf4c04

Please sign in to comment.