From bd9ddd37ce9616949e69a0a441c1c258fc246ce8 Mon Sep 17 00:00:00 2001 From: Matthias Grandl Date: Wed, 13 Mar 2024 09:17:42 +0100 Subject: [PATCH] release workflow: fix variables --- .github/workflows/release-macos.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml index 8e1ca02..abb2303 100644 --- a/.github/workflows/release-macos.yml +++ b/.github/workflows/release-macos.yml @@ -7,6 +7,7 @@ on: env: CARGO_TERM_COLOR: always + CARGO_FEATURES: ${{ env.CARGO_FEATURES }} jobs: build: @@ -24,12 +25,14 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} save-always: true - - name: Clippy - run: cargo clippy -F ${{ env.CARGO_FEATURES }} + # - name: Clippy + # env: + # CARGO_FEATURES: $CARGO_FEATURES + # run: cargo clippy -F $CARGO_FEATURES - name: Build x86_64 - run: cargo build --target=x86_64-apple-darwin -F ${{ env.CARGO_FEATURES }} --release + run: cargo build --target=x86_64-apple-darwin -F $CARGO_FEATURES --release - name: Build aarch64 - run: cargo build --target=aarch64-apple-darwin -F ${{ env.CARGO_FEATURES }} --release + run: cargo build --target=aarch64-apple-darwin -F $CARGO_FEATURES --release - name: Lipo run: mkdir -p target/release ; lipo -create -output target/release/loungy target/x86_64-apple-darwin/release/loungy target/aarch64-apple-darwin/release/loungy - name: Install Packer