Skip to content

Commit 5d2d20c

Browse files
committed
Update build artifact naming and paths in CI workflow
1 parent 35ddf01 commit 5d2d20c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/il2cpp.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ jobs:
7979

8080
- name: Archive build
8181
run: |
82-
outdir=build/${{ matrix.unity }}/${{ matrix.target }}
83-
zip -r "$outdir.zip" "$outdir"
82+
zip -r build-${{ matrix.unity }}-${{ matrix.target }}.zip ./build
8483
8584
- name: Upload to GitHub Release
8685
if: github.event_name == 'release'
@@ -89,7 +88,7 @@ jobs:
8988
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9089
with:
9190
upload_url: ${{ github.event.release.upload_url }}
92-
asset_path: build/${{ matrix.unity }}/${{ matrix.target }}.zip
91+
asset_path: build-${{ matrix.unity }}-${{ matrix.target }}.zip
9392
asset_name: build-${{ matrix.unity }}-${{ matrix.target }}.zip
9493
asset_content_type: application/zip
9594

@@ -98,4 +97,4 @@ jobs:
9897
uses: actions/upload-artifact@v4
9998
with:
10099
name: build-${{ matrix.unity }}-${{ matrix.target }}
101-
path: build/${{ matrix.unity }}/${{ matrix.target }}
100+
path: build/

0 commit comments

Comments
 (0)