Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): load persistent cache action from workflow SHA

Ezra Ellettee615d1d24611
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index e8cf09ded..64cbcb1e6 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -226,9 +226,17 @@ jobs:
with:
target: ${{ matrix.target }}
+ - name: Checkout persistent Windows cache action
+ if: runner.environment == 'self-hosted' && matrix.os_type == 'windows'
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ github.workflow_sha }}
+ path: .release-workflow
+ sparse-checkout: .github/actions/setup-persistent-windows-cache
+
- name: Attach persistent Azure Windows cache
if: runner.environment == 'self-hosted' && matrix.os_type == 'windows'
- uses: ./.github/actions/setup-persistent-windows-cache
+ uses: ./.release-workflow/.github/actions/setup-persistent-windows-cache
with:
target: ${{ matrix.target }}
diff --git a/.github/workflows/release-enterprise.yml b/.github/workflows/release-enterprise.yml
index 63db086b5..5c61af94e 100644
--- a/.github/workflows/release-enterprise.yml
+++ b/.github/workflows/release-enterprise.yml
@@ -97,9 +97,17 @@ jobs:
with:
ref: ${{ needs.resolve-release.outputs.release_sha }}
+ - name: Checkout persistent Windows cache action
+ if: runner.environment == 'self-hosted'
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ github.workflow_sha }}
+ path: .release-workflow
+ sparse-checkout: .github/actions/setup-persistent-windows-cache
+
- name: Attach persistent Azure Windows cache
if: runner.environment == 'self-hosted'
- uses: ./.github/actions/setup-persistent-windows-cache
+ uses: ./.release-workflow/.github/actions/setup-persistent-windows-cache
with:
target: x86_64-pc-windows-msvc