From 547230bb7757f8e837b90ea34c5cc79c6ebe33fd Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 13 Jan 2023 14:58:23 +0000 Subject: [PATCH] .github: Clean source tree before cross building release assets This address issues with leaking symbols into the cross build. Signed-off-by: Rob Bradford --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 216fb12c9..62a56fd97 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,6 +40,10 @@ jobs: toolchain: "1.62" target: aarch64-unknown-linux-musl override: true + - name: Clean build tree ahead of cross build + uses: actions-rs/cargo@v1 + with: + command: clean - name: Static Build (AArch64) uses: actions-rs/cargo@v1 with: