release #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: workflow_dispatch | |
jobs: | |
release: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- platform: aarch64-linux-musl | |
target: aarch64-unknown-linux-musl | |
runs-on: ubuntu-latest | |
name: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
cargo install --locked --git https://github.com/ankane/cargo-3pl | |
git clone https://github.com/ankane/3pl-source.git | |
cargo 3pl --target ${{ matrix.target }} --require-files --source 3pl-source > LICENSE-THIRD-PARTY.txt | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
- uses: oxidize-rb/actions/cross-gem@v1 | |
id: cross-gem | |
with: | |
platform: ${{ matrix.platform }} | |
ruby-versions: "3.3,3.2,3.1" | |
# pre-script: ${{ matrix.setup }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: cross-gem | |
path: ${{ steps.cross-gem.outputs.gem-path }} |