Skip to content

Commit

Permalink
Fix GA caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxiaof committed Jun 25, 2021
1 parent 070937c commit 5b3768b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/update_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout main
uses: actions/checkout@v2
with:
ref: main
- name: Build
run: cargo build --verbose
- name: Show cache key
run: echo ${{ runner.os }}-cargo-${{ github.sha }}
- uses: actions/cache@v2
- name: Cache build dependencies
uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
Expand All @@ -27,7 +25,10 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ github.sha }}
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Checkout apt_list
uses: actions/checkout@v2
with:
ref: apt_list
path: apt_list
Expand Down

0 comments on commit 5b3768b

Please sign in to comment.