From d41bd202a1ccac5ea35091bd69438f69f9312202 Mon Sep 17 00:00:00 2001 From: JP Cottin Date: Mon, 27 Jul 2026 19:38:25 -0700 Subject: [PATCH] Move the cache actions off Node 20 actions/cache/restore and actions/cache/save at v4 target Node 20, which the runners now force onto Node 24 with a deprecation warning. v6 targets Node 24 directly. --- .github/actions/preview-emulator/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/preview-emulator/action.yml b/.github/actions/preview-emulator/action.yml index 825702a..b1994d4 100644 --- a/.github/actions/preview-emulator/action.yml +++ b/.github/actions/preview-emulator/action.yml @@ -63,7 +63,7 @@ runs: # first run that sees it. - name: Restore cached system image id: sysimg-restore - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v6 with: path: ${{ steps.sdk.outputs.path }}/system-images/android-${{ inputs.api-level }}/${{ inputs.target }}/${{ inputs.abi }} key: sysimg-v1-android-${{ inputs.api-level }}-${{ inputs.target }}-${{ inputs.abi }}-rev @@ -164,7 +164,7 @@ runs: # steady state costs nothing and a new revision is picked up once. - name: Save system image to cache if: steps.sysimg-restore.outputs.cache-matched-key != format('sysimg-v1-android-{0}-{1}-{2}-rev{3}', inputs.api-level, inputs.target, inputs.abi, steps.sysimg.outputs.revision) - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 with: path: ${{ steps.sdk.outputs.path }}/system-images/android-${{ inputs.api-level }}/${{ inputs.target }}/${{ inputs.abi }} key: sysimg-v1-android-${{ inputs.api-level }}-${{ inputs.target }}-${{ inputs.abi }}-rev${{ steps.sysimg.outputs.revision }}