ci: bump ClawHub package publish workflow (#97907)

This commit is contained in:
Patrick Erichsen
2026-06-29 12:17:49 -07:00
committed by GitHub
parent 82dfd89107
commit d43366b4e3
2 changed files with 3 additions and 6 deletions

View File

@@ -387,7 +387,7 @@ jobs:
needs:
[preview_plugins_clawhub, pack_plugins_clawhub_artifacts, approve_plugins_clawhub_release]
if: always() && github.event_name == 'workflow_dispatch' && needs.preview_plugins_clawhub.outputs.has_candidates == 'true' && needs.pack_plugins_clawhub_artifacts.result == 'success' && (inputs.dry_run == true || needs.approve_plugins_clawhub_release.result == 'success')
uses: openclaw/clawhub/.github/workflows/package-publish.yml@9d49df109d4ad3dc8a6ecf05d26b39f46d294721
uses: openclaw/clawhub/.github/workflows/package-publish.yml@28409ee6ce9d088c9ddf0d6913cde6597f83f362
permissions:
actions: read
contents: read

View File

@@ -1534,10 +1534,7 @@ describe("package artifact reuse", () => {
for (const item of cases) {
const label = `${item.workflowPath} ${item.jobName}`;
const uploadStep = workflowStep(
workflowJob(item.workflowPath, item.jobName),
item.stepName,
);
const uploadStep = workflowStep(workflowJob(item.workflowPath, item.jobName), item.stepName);
expect(uploadStep.if, label).toContain("always()");
expect(uploadStep.uses, label).toBe(UPLOAD_ARTIFACT_V7);
@@ -2140,7 +2137,7 @@ describe("package artifact reuse", () => {
"github.event_name == 'workflow_dispatch' && inputs.dry_run != true && inputs.publish_scope == 'selected' && steps.plan.outputs.skipped_published_count != '0'",
);
expect(clawHubWorkflow).toContain(
"uses: openclaw/clawhub/.github/workflows/package-publish.yml@9d49df109d4ad3dc8a6ecf05d26b39f46d294721",
"uses: openclaw/clawhub/.github/workflows/package-publish.yml@28409ee6ce9d088c9ddf0d6913cde6597f83f362",
);
expect(clawHubWorkflow).toContain("dry_run:");
expect(clawHubWorkflow).toContain("default: false");