Pin cache action against specific commit

This commit is contained in:
Nils Hanke 2022-09-19 10:39:17 +02:00 committed by Nils Hanke
parent 3d50869ed6
commit de1268ffb9
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ runs:
- name: Download the bootstrapper from cache - name: Download the bootstrapper from cache
id: download-bootstrapper-cache id: download-bootstrapper-cache
if: inputs.isDebugImage == 'true' && runner.os == 'macOS' if: inputs.isDebugImage == 'true' && runner.os == 'macOS'
uses: actions/cache@v3 uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77
with: with:
key: bootstrapper-${{ github.sha }} key: bootstrapper-${{ github.sha }}
path: "build/bootstrapper" path: "build/bootstrapper"

View File

@ -70,7 +70,7 @@ jobs:
- name: Upload bootstrapper to cache - name: Upload bootstrapper to cache
if: ${{ github.event.steps.check-bootstrapper-cache.cache-hit != 'true'}} if: ${{ github.event.steps.check-bootstrapper-cache.cache-hit != 'true'}}
uses: actions/cache@v3 uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77
with: with:
key: bootstrapper-${{ github.sha }} key: bootstrapper-${{ github.sha }}
path: "build/bootstrapper" path: "build/bootstrapper"