fix: fix release by setting stable toolchain on mac, setting 1.73.0 on linux (#841)
parent
6dabecc3ee
commit
ab061e92e8
|
|
@ -34,8 +34,6 @@ jobs:
|
|||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ vars.RUST_TOOLCHAIN }}
|
||||
|
||||
- name: Sccache cache
|
||||
uses: mozilla-actions/sccache-action@v0.0.3
|
||||
|
|
@ -69,8 +67,10 @@ jobs:
|
|||
include:
|
||||
- os: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
toolchain: stable
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
toolchain: 1.73.0
|
||||
|
||||
env:
|
||||
SCCACHE_GHA_ENABLED: true
|
||||
|
|
@ -86,7 +86,7 @@ jobs:
|
|||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ vars.RUST_TOOLCHAIN }}
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
target: ${{ matrix.target }}
|
||||
components: clippy
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ jobs:
|
|||
cache-from: ${{ steps.cache.outputs.cache-from }}
|
||||
cache-to: ${{ steps.cache.outputs.cache-to }}
|
||||
build-args: |
|
||||
RUST_TOOLCHAIN=${{ vars.RUST_TOOLCHAIN }}
|
||||
RUST_TOOLCHAIN=1.73.0
|
||||
|
||||
- name: Docker Hub Description
|
||||
uses: peter-evans/dockerhub-description@v3
|
||||
|
|
|
|||
Loading…
Reference in New Issue