Skip to content

Commit

Permalink
Cache Docker used by cross
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Jul 6, 2024
1 parent fc5a743 commit 41276a2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,14 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Cache
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2

- name: Cache Docker images.
uses: ScribeMD/docker-cache@0.5.0
with:
key: docker-${{ runner.os }}-${{ hashFiles('Cross.toml') }}

- name: Install Cross
if: runner.os == 'Linux'
run: cargo install cross
Expand Down

0 comments on commit 41276a2

Please sign in to comment.