diff --git a/.github/actions/gradle-task/action.yml b/.github/actions/gradle-task/action.yml index d2449f8d5c..ec9a12ad39 100644 --- a/.github/actions/gradle-task/action.yml +++ b/.github/actions/gradle-task/action.yml @@ -69,7 +69,7 @@ runs: - name: restore cache for ${{inputs.write-cache-key}} id: restore-write-cache if: inputs.write-cache-key != 'null' - uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 + uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4 with: path: | ~/.gradle/caches/build-cache-1 @@ -87,7 +87,7 @@ runs: # Skipped if the restore-cache-key wasn't set, or if the write-cache-key restore had an exact match. - name: restore cache for ${{inputs.restore-cache-key}} if: inputs.restore-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true' - uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 + uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4 with: path: | ~/.gradle/caches/build-cache-1 @@ -120,7 +120,7 @@ runs: # Windows runners are welcome to *read* the cross-OS cache, but the directories get weird if # they try to write to it. - name: save the '${{inputs.write-cache-key}}' cache - uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 + uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4 id: save-write-cache-key if: inputs.write-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true' with: diff --git a/.github/actions/gradle-tasks-with-emulator/action.yml b/.github/actions/gradle-tasks-with-emulator/action.yml index d96d0d17c8..855c998c9a 100644 --- a/.github/actions/gradle-tasks-with-emulator/action.yml +++ b/.github/actions/gradle-tasks-with-emulator/action.yml @@ -56,7 +56,7 @@ runs: # Get the AVD if it's already cached. - name: AVD cache - uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 + uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4 id: restore-avd-cache with: path: | @@ -83,7 +83,7 @@ runs: - name: cache new AVD before tests if: steps.restore-avd-cache.outputs.cache-hit != 'true' id: save-avd-cache - uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 + uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4 with: path: | ~/.android/avd/*