Skip to content

Commit

Permalink
Omit -gnu suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
stanhu committed Jan 16, 2025
1 parent dd5c271 commit 8232856
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
strategy:
matrix:
platform:
- "aarch64-linux-gnu"
- "aarch64-linux"
- "aarch64-linux-musl"
- "arm64-darwin"
- "x86_64-darwin"
- "x86_64-linux-gnu"
- "x86_64-linux"
- "x86_64-linux-musl"
- "x64-mingw32"
- "x64-mingw-ucrt"
Expand All @@ -34,14 +34,10 @@ jobs:
cargo-cache: true
cargo-vendor: true

- name: Transform platform name
id: transform_platform
run: echo "cross_gem_platform=$(echo '${{ matrix.platform }}' | sed 's/-gnu$//')" >> $GITHUB_ENV

- uses: oxidize-rb/actions/cross-gem@v1
id: cross-gem
with:
platform: ${{ env.cross_gem_action_platform }}
platform: ${{ matrix.platform }}
ruby-versions: '3.1,3.2,3.3,3.4'

- name: Display structure of built gems
Expand Down

0 comments on commit 8232856

Please sign in to comment.