Skip to content

Commit 40b3b9b

Browse files
committed
Properly download artifact when setting up nightly release
1 parent 1d4d38e commit 40b3b9b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/nightly_release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Inspired from https://github.com/WerWolv/ImHex/blob/16dc199431858de984fb0ed3b50d60a9a9e511b1/.github/workflows/nightly_release.yml
22

3-
name: Nightly Release
4-
53
on:
6-
push:
7-
branches:
8-
- main
4+
workflow_run:
5+
workflows: ["CI"]
6+
types:
7+
- completed
98
workflow_dispatch:
109

1110
env:
@@ -26,11 +25,12 @@ jobs:
2625
fetch-depth: 0
2726
fetch-tags: true
2827

29-
- name: ⬇️ Download artifacts from latest workflow
28+
- name: ⬇️ Download artifact from latest workflow
3029
uses: dawidd6/action-download-artifact@v6
3130
with:
31+
name: modpackresolver-cli
3232
github_token: ${{ secrets.GITHUB_TOKEN }}
33-
workflow: ci.yml
33+
workflow: build.yml
3434
branch: ${{ github.event.release.target_commitish }}
3535
workflow_conclusion: success
3636

0 commit comments

Comments
 (0)