diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index 252a2903..e1acbd74 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -61,6 +61,7 @@ jobs: os: "ubuntu-20.04", target: "x86_64-unknown-linux-musl", cross: false, + rust: "1.71.0", } - { os: "ubuntu-20.04", @@ -130,7 +131,7 @@ jobs: if: matrix.info.container == '' uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d with: - toolchain: stable + toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} - name: Set up Rust toolchain (non-GitHub container) @@ -289,7 +290,7 @@ jobs: matrix: info: - { target: "x86_64-unknown-linux-gnu", cross: false, dpkg: amd64 } - - { target: "x86_64-unknown-linux-musl", cross: false, dpkg: amd64 } + - { target: "x86_64-unknown-linux-musl", cross: false, dpkg: amd64, rust: "1.71.0" } - { target: "aarch64-unknown-linux-gnu", cross: true, @@ -323,7 +324,7 @@ jobs: - name: Set up Rust toolchain uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d with: - toolchain: stable + toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} # TODO: Could I use the previous jobs to skip this call? @@ -411,7 +412,7 @@ jobs: matrix: info: - { target: "x86_64-unknown-linux-gnu" } - - { target: "x86_64-unknown-linux-musl" } + - { target: "x86_64-unknown-linux-musl", rust: "1.71.0" } steps: - name: Checkout repository uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 @@ -421,7 +422,7 @@ jobs: - name: Set up Rust toolchain uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d with: - toolchain: stable + toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} # TODO: Could I use the previous jobs to skip this call?