chore: apt update before install

This commit is contained in:
zonyitoo
2025-04-30 20:04:11 +08:00
parent c1f6396fd4
commit 27202a516b
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
uses: ilammy/setup-nasm@v1
- if: ${{ matrix.platform == 'ubuntu-latest' }}
name: Install LLVM and Clang
run: sudo apt install -y clang
run: sudo apt update && sudo apt install -y clang
- name: Install Rust
run: |
rustup set profile minimal
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
uses: jlumbroso/free-disk-space@main
- if: ${{ matrix.platform == 'ubuntu-latest' }}
name: Install LLVM and Clang
run: sudo apt install -y clang
run: sudo apt update && sudo apt install -y clang
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- if: ${{ runner.os == 'Windows' }}
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
uses: jlumbroso/free-disk-space@main
- name: Install LLVM and Clang
run: sudo apt install -y clang
run: sudo apt update && sudo apt install -y clang
- uses: actions/checkout@v4
+1 -1
View File
@@ -76,7 +76,7 @@ jobs:
uses: jlumbroso/free-disk-space@main
- name: Install LLVM and Clang
run: sudo apt install -y clang
run: sudo apt update && sudo apt install -y clang
- uses: actions/checkout@v4