File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,12 +100,13 @@ jobs:
100100 mkdir previous
101101 gh release download "$RELEASE_TAG" --pattern sdk-acceptance.tar.gz --dir previous
102102 gh attestation verify previous/sdk-acceptance.tar.gz --repo "$GH_REPO" --signer-workflow "$GH_REPO/.github/workflows/publish.yml" --source-ref "refs/tags/$RELEASE_TAG" --source-digest "$GITHUB_SHA" --deny-self-hosted-runners
103- # A retry may regenerate dependency locks, but must test identical SDK bytes .
103+ # Keep the authenticated original when a retry rebuilds the same SDK.
104104 tar -xOf previous/sdk-acceptance.tar.gz ./acceptance.json | jq -S . > previous.json
105105 tar -xOf release/sdk-acceptance.tar.gz ./acceptance.json | jq -S . > current.json
106106 cmp previous.json current.json
107+ exit 0
107108 fi
108- gh release upload "$RELEASE_TAG" release/sdk-acceptance.tar.gz --clobber
109+ gh release upload "$RELEASE_TAG" release/sdk-acceptance.tar.gz
109110
110111 publish :
111112 needs : [build, attest]
Original file line number Diff line number Diff line change 1- # Installed-package acceptance tests
1+ ---
2+ title : Installed-package acceptance tests
3+ description : Build and publish the locked consumer project used by Hosting.
4+ ---
25
36Run ` bash scripts/build-acceptance.sh <package-file> <output-directory> ` after
47building the SDK. The command creates a standalone consumer, installs the exact
You can’t perform that action at this time.
0 commit comments