mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-30 17:53:42 +00:00
ci: bump ClawHub package publish workflow (#97907)
This commit is contained in:
2
.github/workflows/plugin-clawhub-release.yml
vendored
2
.github/workflows/plugin-clawhub-release.yml
vendored
@@ -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
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user