mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-24 18:19:35 +00:00
fix(release): require postpublish evidence artifact
This commit is contained in:
@@ -1466,9 +1466,9 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Upload postpublish evidence
|
||||
if: ${{ always() }}
|
||||
if: ${{ always() && inputs.publish_openclaw_npm }}
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
|
||||
with:
|
||||
name: openclaw-release-postpublish-evidence-${{ inputs.tag }}
|
||||
path: ${{ runner.temp }}/openclaw-release-postpublish-evidence
|
||||
if-no-files-found: ignore
|
||||
if-no-files-found: error
|
||||
|
||||
@@ -2237,6 +2237,13 @@ describe("package artifact reuse", () => {
|
||||
expect(clawHubReleasePlanScript).toContain("--plugin-clawhub-bootstrap-run");
|
||||
expect(releaseWorkflow).toContain('verify_args+=(--plugins "${PLUGINS}")');
|
||||
expect(releaseWorkflow).toContain("openclaw-release-postpublish-evidence");
|
||||
const postpublishEvidenceUpload = workflowStep(
|
||||
workflowJob(RELEASE_PUBLISH_WORKFLOW, "publish"),
|
||||
"Upload postpublish evidence",
|
||||
);
|
||||
expect(postpublishEvidenceUpload.if).toContain("always()");
|
||||
expect(postpublishEvidenceUpload.if).toContain("inputs.publish_openclaw_npm");
|
||||
expect(postpublishEvidenceUpload.with?.["if-no-files-found"]).toBe("error");
|
||||
expect(releaseWorkflow).toContain("Failed child job summary");
|
||||
expect(releaseWorkflow).toContain("Workflow completion waits for ClawHub");
|
||||
expect(releaseWorkflow).toContain("Workflow completion does not wait for ClawHub");
|
||||
|
||||
Reference in New Issue
Block a user