Remove restore key for cache of action

This commit is contained in:
Mingshen Sun 2024-12-14 15:02:57 -08:00
parent 1b84e28a44
commit fc35805565
2 changed files with 2 additions and 6 deletions

View file

@ -25,13 +25,11 @@ jobs:
- name: Installing packages
run: |
gem install bundler
- uses: actions/cache@v3
- uses: actions/cache@v4
id: gopenpgp-cache
with:
path: go
key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }}
restore-keys: |
${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-
- name: Bundle Install
run: |
bundle config path vendor/bundle

View file

@ -18,13 +18,11 @@ jobs:
- name: Installing packages
run: |
gem install bundler
- uses: actions/cache@v3
- uses: actions/cache@v4
id: gopenpgp-cache
with:
path: go
key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }}
restore-keys: |
${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-
- name: Bundle Install
run: |
bundle config path vendor/bundle