From 5b80a474d95ed4ed54669f35b7379ba505256955 Mon Sep 17 00:00:00 2001 From: usamoi Date: Sun, 22 Dec 2024 16:59:42 +0800 Subject: [PATCH] install musl in upload-release --- .github/workflows/upload-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/upload-release.yml b/.github/workflows/upload-release.yml index 52ea1bdf4..9f1802905 100644 --- a/.github/workflows/upload-release.yml +++ b/.github/workflows/upload-release.yml @@ -44,6 +44,9 @@ jobs: GH_TOKEN: ${{ github.token }} shell: bash run: | + if [ "${{ matrix.os }}" = "ubuntu-22.04" ]; then + sudo apt install musl-tools + fi rustup target add ${{ matrix.target }} cargo build -p cargo-pgrx --bin cargo-pgrx --features cargo-edit/vendored-openssl --target ${{ matrix.target }} --release