Skip to content

Commit

Permalink
Fixes name of pre-commit cache for multiple branches (apache#10299)
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk authored Aug 12, 2020
1 parent 8f8db89 commit 4aa05a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Cache pre-commit env
uses: actions/cache@v2
env:
cache-name: cache-pre-commit-no-pylint-v1
cache-name: cache-pre-commit-master-no-pylint-v1
with:
path: ~/.cache/pre-commit
key: ${{ env.cache-name }}-${{ github.job }}-${{ hashFiles('.pre-commit-config.yaml') }}
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Cache pre-commit env
uses: actions/cache@v2
env:
cache-name: cache-pre-commit-pylint-v1
cache-name: cache-pre-commit-master-pylint-v1
with:
path: ~/.cache/pre-commit
key: ${{ env.cache-name }}-${{ github.job }}-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down

0 comments on commit 4aa05a7

Please sign in to comment.