Skip to content

Commit

Permalink
ci: Rename target for uploaded artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
katyo committed Feb 23, 2024
1 parent 0093825 commit b43d612
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ jobs:
i686-linux-android) printf x86;;
x86_64-linux-android) printf x86_64;;
esac)" >> $GITHUB_OUTPUT
echo "android-arch=$(case "${{ matrix.target }}" in
armv7-linux-androideabi) printf arm;;
aarch64-linux-android) printf arm64;;
i686-linux-android) printf x86;;
x86_64-linux-android) printf x86_64;;
esac)" >> $GITHUB_OUTPUT
if [[ "${{ matrix.target }}" =~ "64" ]]; then
echo "android-api=21" >> $GITHUB_OUTPUT
else
Expand All @@ -167,7 +173,7 @@ jobs:
if: matrix.rust == 'stable' && matrix.profile == 'release'
uses: actions/upload-artifact@v4
with:
name: bindings-${{ matrix.target }}
name: bindings-${{ steps.config.outputs.android-arch }}
path: bindings
overwrite: true
- name: Archive library
Expand All @@ -177,7 +183,7 @@ jobs:
if: matrix.rust == 'stable'
uses: actions/upload-artifact@v4
with:
name: library-${{ matrix.target }}-${{ matrix.profile }}
name: library-${{ steps.config.outputs.android-arch }}-${{ matrix.profile }}
path: liboboe-ext_${{ matrix.target }}_${{ matrix.profile }}.tar.gz
overwrite: true

Expand Down

0 comments on commit b43d612

Please sign in to comment.