ci(uffizzi-preview): use id of the workflow that triggered the workflow run (#10003)

The "Deploy Uffizzi Preview" has been failing after PR #9859 has been
merged. The cause is that the `cache-compose-file` was trying to
download artifacts from the current workflow. Instead, it should
download artifacts uploaded by the workflow that trigerred the workflow
run.

Fixes: 2684cedddf ("chore(release-pr): update `upload-artifact` action to v4 (#9859)")

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
This commit is contained in:
Eng Zer Jun
2024-12-09 23:09:01 +08:00
committed by GitHub
parent b34ab4f96c
commit 62e1485143

View File

@@ -25,6 +25,7 @@ jobs:
path: preview-spec
pattern: preview-spec-*
merge-multiple: true
run-id: ${{ github.event.workflow_run.id }}
- name: 'Accept event from first stage'
run: cp preview-spec/event.json .