Skip to content

Commit 5ca5d99

Browse files
committed
fix: make zip available to download from draft release
- easier to find - needs to download artifacts uploaded in the build job
1 parent 8426e97 commit 5ca5d99

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,19 @@ jobs:
116116
--jq '.[] | select(.draft == true) | .id' \
117117
| xargs -I '{}' gh api -X DELETE repos/${{ github.repository }}/releases/{}
118118
119+
- name: Download Build Artifacts
120+
uses: actions/download-artifact@v4
121+
with:
122+
name: release-artifacts
123+
path: artifacts/
124+
119125
# Create new release draft - which is not publicly visible and requires manual acceptance
120126
- name: Create Release Draft
121127
env:
122128
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
123129
run: |
124130
gh release create v${{ needs.build.outputs.version }} \
125-
--draft \
131+
--draft artifacts/* \
126132
--target ${GITHUB_REF_NAME} \
127133
--title "v${{ needs.build.outputs.version }}" \
128134
--notes-file RELEASE_NOTES.md

0 commit comments

Comments
 (0)