diff --git a/.github/actions/gradle-task/action.yml b/.github/actions/gradle-task/action.yml index 5bdd9b042..23c9bdc18 100644 --- a/.github/actions/gradle-task/action.yml +++ b/.github/actions/gradle-task/action.yml @@ -59,7 +59,7 @@ runs: - name: restore cache for ${{inputs.write-cache-key}} id: restore-write-cache if: inputs.write-cache-key != 'null' - uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 + uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 with: path: | ~/.gradle/caches/build-cache-1 @@ -77,7 +77,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@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 + uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 with: path: | ~/.gradle/caches/build-cache-1 @@ -110,7 +110,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@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 + uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # 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 5e7ef081a..4e6c9ab28 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@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 + uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # 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@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 + uses: actions/cache/save@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 with: path: | ~/.android/avd/*