Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- runner: macos-latest
target: aarch64-apple-darwin
arch: arm64
- runner: macos-12
- runner: macos-latest
target: x86_64-apple-darwin
arch: x86_64
fail-fast: false
Expand All @@ -34,13 +34,22 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Get Rust toolchain version
id: get_toolchain_version
run: echo "RUST_TOOLCHAIN=$(grep 'channel =' rust-toolchain.toml | cut -d '"' -f 2)" >> $GITHUB_ENV

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.target }}
toolchain: ${{ env.RUST_TOOLCHAIN }}
targets: ${{ matrix.target }}

- name: Add target toolchain
run: rustup target add ${{ matrix.target }}
- name: Show toolchain info
run: |
rustc -vV
cargo -vV
rustup show
rustup target list --installed

- name: Resolve release tag
id: tag
Expand Down