Skip to content

Commit

Permalink
fix: EXT instead of ext
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Feb 6, 2025
1 parent d173b6b commit bdc123f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,15 @@ jobs:

- name: Set shared library extension
id: set_extension
run: echo "ext=$([[ ${{ matrix.platform }} == 'x86_64-linux' ]] && echo 'so' || [[ ${{ matrix.platform }} == 'aarch64-linux' ]] && echo 'so' || echo 'dylib')" >> $GITHUB_ENV
run: |
case "${{ matrix.platform }}" in
x86_64-linux|aarch64-linux) echo "EXT=so" >> $GITHUB_ENV ;;
*) echo "EXT=dylib" >> $GITHUB_ENV ;;
esac
- name: Upload shared library artifact for ${{ matrix.platform }}
uses: actions/upload-artifact@v4
with:
name: libblst_min_pk_${{ matrix.platform }}.${{ env.ext }}
path: zig-out/lib/libblst_min_pk.${{ env.ext }}
name: libblst_min_pk_${{ matrix.platform }}.${{ env.EXT }}
path: zig-out/lib/libblst_min_pk.${{ env.EXT }}
compression-level: 0 # No compression

0 comments on commit bdc123f

Please sign in to comment.