fix(release): align package acceptance with candidate source

This commit is contained in:
Peter Steinberger
2026-05-02 01:56:02 +01:00
parent 86fb8278ad
commit 0cd12d17d4
2 changed files with 4 additions and 2 deletions

View File

@@ -509,7 +509,7 @@ jobs:
needs: resolve_package
uses: ./.github/workflows/openclaw-live-and-e2e-checks-reusable.yml
with:
ref: ${{ inputs.workflow_ref }}
ref: ${{ needs.resolve_package.outputs.package_source_sha || inputs.workflow_ref }}
include_repo_e2e: false
include_release_path_suites: ${{ needs.resolve_package.outputs.include_release_path_suites == 'true' }}
include_openwebui: ${{ needs.resolve_package.outputs.include_openwebui == 'true' }}

View File

@@ -77,7 +77,9 @@ describe("package acceptance workflow", () => {
expect(workflow).toContain(
"uses: ./.github/workflows/openclaw-live-and-e2e-checks-reusable.yml",
);
expect(workflow).toContain("ref: ${{ inputs.workflow_ref }}");
expect(workflow).toContain(
"ref: ${{ needs.resolve_package.outputs.package_source_sha || inputs.workflow_ref }}",
);
expect(workflow).toContain(
"package_artifact_name: ${{ needs.resolve_package.outputs.package_artifact_name }}",
);