ci: run cache restore jobs after the jobs that create the cache

The restore and add-package jobs all only needed testing, so they ran in
parallel with standard_workflow_install and raced on the same cache key.
Restore the ordering v1 uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
awalsh128 2026-11-05 19:11:06 -08:00
parent 72c96d31bc
commit 0f10e9bd5e

View file

@ -245,7 +245,7 @@ jobs:
standard_workflow_install_with_new_version:
runs-on: ubuntu-latest
needs: [testing]
needs: [standard_workflow_install]
name: Standard workflow packages with new version.
steps:
- name: Download Action Bundle
@ -269,7 +269,7 @@ jobs:
standard_workflow_restore:
runs-on: ubuntu-latest
needs: [testing]
needs: [standard_workflow_install]
name: Standard workflow restore cached packages.
steps:
- name: Download Action Bundle
@ -293,7 +293,7 @@ jobs:
standard_workflow_restore_with_packages_out_of_order:
runs-on: ubuntu-latest
needs: [testing]
needs: [standard_workflow_install]
name: Standard workflow restore with packages out of order.
steps:
- name: Download Action Bundle
@ -317,7 +317,7 @@ jobs:
standard_workflow_add_package:
runs-on: ubuntu-latest
needs: [testing]
needs: [standard_workflow_install]
name: Standard workflow add another package.
steps:
- name: Download Action Bundle
@ -341,7 +341,7 @@ jobs:
standard_workflow_restore_add_package:
runs-on: ubuntu-latest
needs: [testing]
needs: [standard_workflow_add_package]
name: Standard workflow restore added package.
steps:
- name: Download Action Bundle