Skip to content

Commit

Permalink
fix workflow build error
Browse files Browse the repository at this point in the history
  • Loading branch information
informationsea committed Jun 22, 2024
1 parent 120f181 commit c9df049
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,19 @@ jobs:
ARTIFACT_SUFFIX: ${{ contains(matrix.config.target, 'windows') && '.exe' || '' }}
TAG: ${{ github.ref_type == 'tag' && github.ref_name || github.sha }}
steps:
- name: Git config
if: runner.os == 'Windows'
run: git config --global core.autocrlf input
- uses: actions/checkout@v4
- name: Checkout submodule
run: git submodule update --init --recursive
- name: Install LLVM Windows
if: runner.os == 'Windows'
run: choco install llvm
- name: Setup LLVM path
if: runner.os == 'Windows'
run: |
echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" > $env:GITHUB_ENV
- uses: actions/cache@v4
with:
path: |
Expand Down

0 comments on commit c9df049

Please sign in to comment.