Skip to content

Commit 184849c

Browse files
committed
Properly download artifact when setting up nightly release
1 parent 1d4d38e commit 184849c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/nightly_release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Inspired from https://github.com/WerWolv/ImHex/blob/16dc199431858de984fb0ed3b50d60a9a9e511b1/.github/workflows/nightly_release.yml
2-
32
name: Nightly Release
43

54
on:
6-
push:
7-
branches:
8-
- main
5+
workflow_run:
6+
workflows: ["CI"]
7+
types:
8+
- completed
99
workflow_dispatch:
1010

1111
env:
@@ -26,9 +26,10 @@ jobs:
2626
fetch-depth: 0
2727
fetch-tags: true
2828

29-
- name: ⬇️ Download artifacts from latest workflow
29+
- name: ⬇️ Download artifact from latest workflow
3030
uses: dawidd6/action-download-artifact@v6
3131
with:
32+
name: modpackresolver-cli
3233
github_token: ${{ secrets.GITHUB_TOKEN }}
3334
workflow: ci.yml
3435
branch: ${{ github.event.release.target_commitish }}

0 commit comments

Comments
 (0)