ci: install build-essential in the publish job
cargo publish verifies the packaged tarball with a full build before uploading, and that build needs a C linker for build-script crates (proc-macro2 was the first to fail). The job's container setup step omitted build-essential, unlike the build and test jobs, so the verification failed with 'linker cc not found' on the v0.1.0 tag.
This commit is contained in:
@@ -138,7 +138,7 @@ jobs:
|
|||||||
- name: Set up container image
|
- name: Set up container image
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y nodejs sudo curl wget ca-certificates
|
apt-get install -y nodejs sudo curl wget ca-certificates build-essential
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user