Skip to content

Commit

Permalink
Cache management of checker
Browse files Browse the repository at this point in the history
  • Loading branch information
rsp4jack authored Dec 31, 2023
1 parent e328ca6 commit 591dba1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get checker commit hash
run: |
git log --no-decorate --pretty=format:"CHECKER_COMMIT=%h" -1 check >> $GITHUB_ENV
- name: Cache
id: cache
uses: actions/cache@v3
with:
path: check/target/release/check
key: check-build-cache-0001
key: check-build-cache-${{ env.CHECKER_COMMIT }}

- name: Build
if: steps.cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 591dba1

Please sign in to comment.