mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-03 21:45:32 +02:00
Merge pull request #47 from Splendide-Imaginarius/mkxp-z-actions-pull
GitHub Actions: Fix artifact upload for pull requests
This commit is contained in:
commit
1e5f2ab9da
1 changed files with 3 additions and 3 deletions
6
.github/workflows/autobuild.yml
vendored
6
.github/workflows/autobuild.yml
vendored
|
@ -72,7 +72,7 @@ jobs:
|
|||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: mkxp-z.windows.${{github.ref_name}}-${{steps.short-sha.outputs.sha}}
|
||||
name: mkxp-z.windows.${{github.event_name == 'pull_request' && format('PR{0}', github.event.number) || github.ref_name}}-${{steps.short-sha.outputs.sha}}
|
||||
path: |
|
||||
build/artifact/*.dll
|
||||
build/artifact/*.exe
|
||||
|
@ -127,7 +127,7 @@ jobs:
|
|||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: mkxp-z.linux.${{github.ref_name}}-${{steps.short-sha.outputs.sha}}
|
||||
name: mkxp-z.linux.${{github.event_name == 'pull_request' && format('PR{0}', github.event.number) || github.ref_name}}-${{steps.short-sha.outputs.sha}}
|
||||
path: build/local.zip
|
||||
|
||||
build-macos:
|
||||
|
@ -177,5 +177,5 @@ jobs:
|
|||
- name: Upload archive
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: mkxp-z.macos.${{github.ref_name}}-${{steps.short-sha.outputs.sha}}
|
||||
name: mkxp-z.macos.${{github.event_name == 'pull_request' && format('PR{0}', github.event.number) || github.ref_name}}-${{steps.short-sha.outputs.sha}}
|
||||
path: build/Build/Products/Release/Z-universal.app.zip
|
Loading…
Add table
Reference in a new issue