Skip to content

Commit

Permalink
Upload build artifacts and changelog to release
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Feb 4, 2024
1 parent 5a67ca1 commit 4c77a09
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,21 @@ jobs:
]
}
- name: Create Release
uses: mikepenz/[email protected]
- name: Create Changelog
run: |
echo '${{steps.github_release.outputs.changelog}}' > ${{ github.workspace }}-CHANGELOG.txt
- name: Download Artifact
uses: actions/download-artifact@v4
with:
path: build
pattern: build-*
merge-multiple: true

- name: Release
uses: softprops/action-gh-release@v1
with:
body: ${{steps.github_release.outputs.changelog}}
draft: true
body_path: ${{ github.workspace }}-CHANGELOG.txt
files: |
build/*

0 comments on commit 4c77a09

Please sign in to comment.