Skip to content

Upload build artifacts to release #17

Upload build artifacts to release

Upload build artifacts to release #17

Workflow file for this run

name: release
permissions:
contents: write
jobs:
release:
needs: build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
configurationJson: |
{
"template": "#{{CHANGELOG}}\n\n<details>\n<summary>Uncategorized</summary>\n\n#{{UNCATEGORIZED}}\n</details>\n",
"pr_template": "- #{{TITLE}} ##{{NUMBER}}",
"categories": [
{
"title": "## 🚀 Features",
"labels": ["feature"]
},
{
"title": "## ✨ Enhancement",
"labels": ["enhancement"]
},
{
"title": "## 🐛 Fixes",
"labels": ["fix"]
},
{
"title": "## 💬 Other",
"labels": ["other"]
}
]
}
- 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
name: * Build

Check failure on line 53 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 53
merge-multiple: true
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
body_path: ${{ github.workspace }}-CHANGELOG.txt
fiels: |
build/*