From 9a66abfcd04f2a0894eb7cd83fa5da9bac54d0a8 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu <23022326+d0cd@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:01:00 -0800 Subject: [PATCH] Another fix attempt --- .github/workflows/release.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d0b3b46bb..3e56285828 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,7 +69,21 @@ jobs: - name: Build run: | docker pull clux/muslrust:stable - docker run -v cargo-cache:/root/.cargo/registry -v $PWD:/volume --rm -t clux/muslrust:stable rustup target add x86_64-unknown-linux-musl && rustup override set x86_64-unknown-linux-musl && cargo build --target x86_64-unknown-linux-musl --package leo-lang --release --features noconfig && ldd target/x86_64-unknown-linux-musl/release/leo + docker run \ + -v ${{ github.workspace }}:/volume \ + -v cargo-cache:/root/.cargo/registry \ + --rm \ + -t clux/muslrust:stable \ + bash -c " + rustup target add x86_64-unknown-linux-musl && + rustup override set x86_64-unknown-linux-musl && + rustup toolchain list && + cargo build --target x86_64-unknown-linux-musl --package leo-lang --release --features noconfig + " + + - name: Check Binary + run: file target/x86_64-unknown-linux-musl/release/leo + - id: get_version uses: battila7/get-version-action@v2