-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (30 loc) · 1.01 KB
/
create-release-draft.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Create Release Draft
on: workflow_dispatch
jobs:
get_version:
uses: ./.github/workflows/get-version.yml
publish:
uses: ./.github/workflows/publish-solution.yml
create_release_draft:
needs: [ get_version, publish ]
runs-on: ubuntu-22.04
steps:
- name: "Download Artifacts"
uses: actions/download-artifact@v4
# downloaded files will be stored at ./windows-artifacts and ./linux-artifacts
- name: "Print Artifacts (Debug only)"
if: runner.debug == '1'
run: |
tree
- name: "Create Release"
uses: softprops/action-gh-release@v2
with:
name: "Release ${{ needs.get_version.outputs.version }}"
tag_name: "v${{ needs.get_version.outputs.version }}"
body: "TODO: Write Changelog"
draft: true
prerelease: true
fail_on_unmatched_files: true
files: |
./windows-artifacts/package/*.zip
./linux-artifacts/package/*.zip