From 6df490cf9a569c65e5fb02d8c15185f1ccb23987 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Thu, 24 Sep 2026 21:41:15 +0200 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6aa16dd..f89686b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,7 +138,7 @@ jobs: - name: Set up container image run: | 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: dtolnay/rust-toolchain@stable - name: Install build dependencies