Skip to content

Commit 5ce6aae

Browse files
committed
Fix docker build artifact look-up
1 parent 2d26233 commit 5ce6aae

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,24 @@ jobs:
2929
- name: Checkout code
3030
uses: actions/checkout@v4
3131

32-
- name: Download artifacts from Build Binaries workflow (triggered by Build Binaries)
32+
- name: Download artifacts from Build Binaries workflow (via Commit Dist Artifacts)
3333
if: github.event_name == 'workflow_run'
3434
uses: dawidd6/action-download-artifact@v6
3535
with:
3636
github_token: ${{ secrets.GITHUB_TOKEN }}
3737
workflow: build.yaml
38-
run_id: ${{ github.event.workflow_run.id }}
38+
commit: ${{ github.event.workflow_run.head_sha }}
39+
workflow_conclusion: success
3940
name_is_regexp: true
4041
name: perfecto-mcp-.*
4142
path: artifacts/
4243

43-
- name: Download artifacts from Build Binaries workflow (triggered by release/manual)
44+
- name: Download artifacts from Build Binaries workflow (release/manual)
4445
if: github.event_name != 'workflow_run'
4546
uses: dawidd6/action-download-artifact@v6
4647
with:
4748
github_token: ${{ secrets.GITHUB_TOKEN }}
4849
workflow: build.yaml
49-
commit: ${{ github.sha }}
5050
workflow_conclusion: success
5151
name_is_regexp: true
5252
name: perfecto-mcp-.*

0 commit comments

Comments
 (0)