chore: cache cargo

main
Sean McBride 4 years ago
parent bd94b96f59
commit 6a2f93b547

@ -80,6 +80,15 @@ jobs:
netpbm \ netpbm \
pango1.0-tools \ pango1.0-tools \
wamerican wamerican
- name: Cache Cargo
uses: actions/cache@v2
env:
cache-name: cargo
with:
path: ~/.cargo
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./awsm/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Compile sledge - name: Compile sledge
run: | run: |
make build make build

Loading…
Cancel
Save