Skip to content

Commit

Permalink
ci/all: give these artifacts some long names to avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Will committed May 26, 2024
1 parent 44de93b commit 2004ef6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- linux-android
target-platform:
- android
android_ndk_maj_v:
android-ndk-maj-v:
- '24'
- '25'
- '26'
Expand All @@ -32,12 +32,12 @@ jobs:
path: out
key: cache.${{matrix.target-double}}.${{matrix.os}}
- run: |
export ANDROID_NDK_HOME=$(find /usr/local/lib/android/sdk/ndk -type d -maxdepth 1 -name '${{matrix.android_ndk_maj_v}}*' | head -n 1)
export ANDROID_NDK_HOME=$(find /usr/local/lib/android/sdk/ndk -type d -maxdepth 1 -name '${{matrix.android-ndk-maj-v}}*' | head -n 1)
tool/build --verbose --platform-${{matrix.target-platform}} --no-build-test --no-run
- run: tool/bundle-artifacts out/${{matrix.target-double}} ${{matrix.target-platform}}
- uses: actions/upload-artifact@v4
with:
name: ${{matrix.target-double}}
name: ${{matrix.target-double}}.built-on-${{matrix.os}}.used-ndk-${{android-ndk-maj-v}}
path: out/${{matrix.target-double}}.tar.gz
- uses: actions/attest-build-provenance@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- run: tool/bundle-artifacts out/${{matrix.target-double}} ${{matrix.target-platform}}
- uses: actions/upload-artifact@v4
with:
name: ${{matrix.target-double}}
name: ${{matrix.target-double}}.built-on-${{matrix.os}}
path: out/${{matrix.target-double}}.tar.gz
- uses: actions/attest-build-provenance@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- run: tool/bundle-artifacts out/${{matrix.target-double}} ${{matrix.target-platform}}
- uses: actions/upload-artifact@v4
with:
name: ${{matrix.target-double}}
name: ${{matrix.target-double}}.built-on-${{matrix.os}}
path: out/${{matrix.target-double}}.tar.gz
- uses: actions/attest-build-provenance@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- run: tool/bundle-artifacts out/${{matrix.target-double}} ${{matrix.target-platform}}
- uses: actions/upload-artifact@v4
with:
name: ${{matrix.target-double}}
name: ${{matrix.target-double}}.built-on-${{matrix.os}}
path: out/${{matrix.target-double}}.tar.gz
- uses: actions/attest-build-provenance@v1
with:
Expand Down

0 comments on commit 2004ef6

Please sign in to comment.