Skip to content

Commit 08fd781

Browse files
committed
ci: hydrate fleet artifact actions in the sfw simulation
1 parent d087b21 commit 08fd781

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎.github/workflows/test-sfw-ci-simulation.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ jobs:
9696
export GIT_CONFIG_VALUE_0="AUTHORIZATION: basic ${AUTH_B64}"
9797
git fetch --no-tags --prune --depth 1 origin "${TRIGGER_REF}"
9898
git checkout -q --detach FETCH_HEAD
99+
# Artifact composites are untracked fleet payload. Hydrate them here
100+
# so upload-artifact resolves; checkout:false keeps this revision.
101+
- name: 'Hydrate fleet Actions'
102+
uses: ./.github/actions/fleet/checkout
103+
with:
104+
checkout: 'false'
105+
payload-token-client-id: ${{ secrets.SOCKET_RELEASE_CLIENT_ID || vars.SOCKET_RELEASE_CLIENT_ID }}
106+
payload-token-private-key: ${{ secrets.SOCKET_RELEASE_APP_PRIVATE_KEY }}
99107
# The baseline is a second copy of the action at the requested ref, in
100108
# its own directory so `./` stays the candidate.
101109
- name: 'Fetch the baseline action'
@@ -211,6 +219,14 @@ jobs:
211219
export GIT_CONFIG_VALUE_0="AUTHORIZATION: basic ${AUTH_B64}"
212220
git fetch --no-tags --prune --depth 1 origin "${TRIGGER_REF}"
213221
git checkout -q --detach FETCH_HEAD
222+
# Artifact composites are untracked fleet payload. Hydrate them here
223+
# so download-artifact resolves; checkout:false keeps this revision.
224+
- name: 'Hydrate fleet Actions'
225+
uses: ./.github/actions/fleet/checkout
226+
with:
227+
checkout: 'false'
228+
payload-token-client-id: ${{ secrets.SOCKET_RELEASE_CLIENT_ID || vars.SOCKET_RELEASE_CLIENT_ID }}
229+
payload-token-private-key: ${{ secrets.SOCKET_RELEASE_APP_PRIVATE_KEY }}
214230
- name: 'Download the results'
215231
uses: ./.github/actions/fleet/download-artifact
216232
with:

0 commit comments

Comments
 (0)