Skip to content

Commit 4522260

Browse files
ci: Cache dependencies
1 parent f8ae6b6 commit 4522260

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/launcher.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ jobs:
3636
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
3737
with:
3838
toolchain: ${{ matrix.toolchain }}
39+
- name: Cache dependencies
40+
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
41+
with:
42+
key: ${{ steps.toolchain.outputs.cachekey }}
3943
- name: Build
40-
run: cargo build --verbose
44+
run: cargo +${{ steps.toolchain.outputs.name }} build --verbose
4145
- name: Upload artifact
4246
uses: actions/upload-artifact@v4.6.2
4347
with:

0 commit comments

Comments
 (0)