diff --git a/.github/workflows/tugboat-dispatch.yml b/.github/workflows/tugboat-dispatch.yml index bdf56d4bc..6038471f0 100644 --- a/.github/workflows/tugboat-dispatch.yml +++ b/.github/workflows/tugboat-dispatch.yml @@ -33,7 +33,7 @@ jobs: # Restore Preview ID for non-creation actions - name: Restore Preview ID if: ${{ inputs.action != 'create' }} - uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: .tugboat_preview.txt key: ${{ runner.os }}-tugboat-preview-id-pr-${{ inputs.pr_number }} @@ -97,7 +97,7 @@ jobs: key: `${{ runner.os }}-tugboat-preview-id-pr-${{ inputs.pr_number }}`, }); - name: Save Preview ID - uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache/save@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: .tugboat_preview.txt key: ${{ runner.os }}-tugboat-preview-id-pr-${{ inputs.pr_number }} diff --git a/.github/workflows/tugboat-refresh-cache.yml b/.github/workflows/tugboat-refresh-cache.yml index 5c790cb23..b304996ae 100644 --- a/.github/workflows/tugboat-refresh-cache.yml +++ b/.github/workflows/tugboat-refresh-cache.yml @@ -61,7 +61,7 @@ jobs: value: ${{fromJSON(needs.collect_cache_keys.outputs.matrix)}} steps: - name: Refresh Preview ID - uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 + uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: .tugboat_preview.txt key: ${{ runner.os }}-tugboat-preview-id-pr-${{ matrix.value }}