mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
ci: bump ClawHub package publish workflow (#97909)
This commit is contained in:
parent
9c154ffa46
commit
4e8ddf70b1
2 changed files with 3 additions and 6 deletions
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
|
||||
|
|
|
|||
|
|
@ -1531,10 +1531,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);
|
||||
|
|
@ -2137,7 +2134,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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue