Fix restore key

This commit is contained in:
Mingshen Sun 2020-12-31 23:48:38 -08:00
parent 90c794b415
commit dbc91e43bd
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 8 additions and 8 deletions

View file

@ -22,27 +22,27 @@ jobs:
path: vendor/bundle path: vendor/bundle
key: ${{ runner.os }}-gems-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }} key: ${{ runner.os }}-gems-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-gems- ${{ runner.os }}-gems-${{ secrets.CACHE_VERSION }}-
- uses: actions/cache@v2 - uses: actions/cache@v2
id: carthage-cache id: carthage-cache
with: with:
path: Carthage path: Carthage
key: ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Cartfile.resolved') }} key: ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Cartfile.resolved') }}
restore-keys: | restore-keys: |
${{ runner.os }}-carthage- ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: Pods path: Pods
key: ${{ runner.os }}-pods-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Podfile.lock') }} key: ${{ runner.os }}-pods-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Podfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-pods- ${{ runner.os }}-pods-${{ secrets.CACHE_VERSION }}-
- uses: actions/cache@v2 - uses: actions/cache@v2
id: gopenpgp-cache id: gopenpgp-cache
with: with:
path: go path: go
key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }} key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }}
restore-keys: | restore-keys: |
${{ runner.os }}-gopenpgp- ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-
- name: Bundle Install - name: Bundle Install
run: | run: |
bundle config path vendor/bundle bundle config path vendor/bundle

View file

@ -16,27 +16,27 @@ jobs:
path: vendor/bundle path: vendor/bundle
key: ${{ runner.os }}-gems-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }} key: ${{ runner.os }}-gems-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-gems- ${{ runner.os }}-gems-${{ secrets.CACHE_VERSION }}-
- uses: actions/cache@v2 - uses: actions/cache@v2
id: carthage-cache id: carthage-cache
with: with:
path: Carthage path: Carthage
key: ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Cartfile.resolved') }} key: ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Cartfile.resolved') }}
restore-keys: | restore-keys: |
${{ runner.os }}-carthage- ${{ runner.os }}-carthage-${{ secrets.CACHE_VERSION }}-
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: Pods path: Pods
key: ${{ runner.os }}-pods-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Podfile.lock') }} key: ${{ runner.os }}-pods-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Podfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-pods- ${{ runner.os }}-pods-${{ secrets.CACHE_VERSION }}-
- uses: actions/cache@v2 - uses: actions/cache@v2
id: gopenpgp-cache id: gopenpgp-cache
with: with:
path: go path: go
key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }} key: ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/gopenpgp_build.sh') }}
restore-keys: | restore-keys: |
${{ runner.os }}-gopenpgp- ${{ runner.os }}-gopenpgp-${{ secrets.CACHE_VERSION }}-
- name: Bundle Install - name: Bundle Install
run: | run: |
bundle config path vendor/bundle bundle config path vendor/bundle