Skip to content

Commit 6c8593f

Browse files
committed
ci: Download LLVM after the cache action
It seems like currently the cache restore is overwriting new downloads.
1 parent 0457315 commit 6c8593f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/main.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ jobs:
2727
rustup update nightly --no-self-update
2828
rustup default nightly
2929
sudo apt-get install -y llvm # Needed to build the C++ APFloat
30-
- name: Download llvm source
31-
run: ./etc/download-llvm.sh
3230
# This should also cache LLVM since it downloads to `target/llvm-downloads`
3331
- uses: Swatinem/rust-cache@v2
3432
with:
3533
key: ${{ matrix.target }}
36-
34+
- name: Download llvm source
35+
run: ./etc/download-llvm.sh
3736
- name: Build and run tests
3837
run: cargo test --workspace
3938

0 commit comments

Comments
 (0)