Skip to content

Commit

Permalink
release workflow: fix variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasGrandl committed Mar 13, 2024
1 parent 34fc87f commit bd9ddd3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_FEATURES: ${{ env.CARGO_FEATURES }}

jobs:
build:
Expand All @@ -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
Expand Down

0 comments on commit bd9ddd3

Please sign in to comment.