Skip to content

Commit 9471fce

Browse files
committed
update release workflow to use GNU target and simplify Rust toolchain installation
1 parent 3278038 commit 9471fce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
- os: macos-latest
2727
target: x86_64-apple-darwin
2828
- os: ubuntu-latest
29-
target: x86_64-unknown-linux-musl
29+
target: x86_64-unknown-linux-gnu
30+
container: quay.io/pypa/manylinux2014_x86_64
3031
steps:
3132
- uses: actions/checkout@v4
3233
- name: Install Rust toolchain
33-
run: rustup toolchain install --target ${{ matrix.target }} --profile minimal stable
34-
- name: Install musl toolchain
35-
if: matrix.os == 'ubuntu-latest'
36-
run: sudo apt-get install -y musl-tools
34+
uses: dtolnay/rust-toolchain@stable
35+
with:
36+
targets: ${{ matrix.target }}
3737
- name: Set up cargo cache
3838
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
3939
- name: Build

0 commit comments

Comments
 (0)