Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 460340d

Browse files
committed
pass cache-hit through env in forge build step
1 parent 82c4776 commit 460340d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/code-update-e2e.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,11 @@ jobs:
148148
# (a full build) instead of a confusing swap failure in the Forge leg.
149149
- name: Build old Forge app if not cached
150150
working-directory: apps/code
151+
env:
152+
CACHE_HIT: ${{ steps.forge-cache.outputs.cache-hit }}
151153
run: |
152154
APP="out/old-forge/PostHog Code.app"
153-
if [ "${{ steps.forge-cache.outputs.cache-hit }}" = "true" ] && codesign --verify --strict "$APP" 2>/dev/null; then
155+
if [ "$CACHE_HIT" = "true" ] && codesign --verify --strict "$APP" 2>/dev/null; then
154156
echo "Reusing cached Forge app with a valid signature"
155157
codesign --verify --strict --verbose=2 "$APP"
156158
else

0 commit comments

Comments
 (0)