Skip to content

Commit bd8dd09

Browse files
committed
[poc_windows_x86_64_compile] Add cache
1 parent 48ce3b9 commit bd8dd09

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/poc-agent-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v2
1616

17+
- name: Cache cargo
18+
uses: actions/cache@v4
19+
with:
20+
path: ~/.cargo
21+
key: ${{ runner.arch }}-${{ runner.os }}-cargo-cache-${{ hashFiles('**/Cargo.lock') }}
22+
restore-keys: |
23+
${{ runner.arch }}-${{ runner.os }}-cargo-cache-
24+
1725
- name: Download rustup-init
1826
run: curl.exe --output rustup-init.exe --url https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
1927

0 commit comments

Comments
 (0)