Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
d0cd committed Nov 20, 2024
1 parent eb75b85 commit 1b46db1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ jobs:
leo-${{ steps.get_version.outputs.version }}-x86_64-apple-darwin.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

macos_m1:
name: macOS M1
runs-on: macos-latest
Expand All @@ -208,14 +209,6 @@ jobs:
target: aarch64-apple-darwin
components: rustfmt

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "11" # Specify the LLVM/Clang version you need
directory: ${{ runner.temp }}/llvm

- name: Set LIBCLANG_PATH
run: echo "LIBCLANG_PATH=${{ runner.temp }}/llvm/lib" >> $GITHUB_ENV

- name: Verify Cargo.lock Exists
run: |
Expand Down Expand Up @@ -281,6 +274,15 @@ jobs:
toolchain: stable
components: rustfmt

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "11" # Specify the LLVM/Clang version you need
directory: ${{ runner.temp }}/llvm

- name: Set LIBCLANG_PATH
run: echo "LIBCLANG_PATH=${{ runner.temp }}/llvm/lib" >> $GITHUB_ENV

- name: Verify Cargo.lock Exists
run: |
if [ ! -f Cargo.lock ]; then
Expand Down

0 comments on commit 1b46db1

Please sign in to comment.