Merge pull request #28454 from ProvableHQ/fix/release-ci-linux-musl

[Fix] Ensure toolchain is set.
This commit is contained in:
d0cd 2024-11-19 16:55:40 -08:00 committed by GitHub
commit d4d531906a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ jobs:
- name: Build
run: |
docker pull clux/muslrust:stable
docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t clux/muslrust:stable rustup target add x86_64-unknown-linux-musl && cargo build --target x86_64-unknown-linux-musl --package leo-lang --release --features noconfig && ldd target/x86_64-unknown-linux-musl/release/leo
docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t clux/muslrust:stable rustup target add x86_64-unknown-linux-musl && rustup override set x86_64-unknown-linux-musl && cargo build --target x86_64-unknown-linux-musl --package leo-lang --release --features noconfig && ldd target/x86_64-unknown-linux-musl/release/leo
- id: get_version
uses: battila7/get-version-action@v2