Fixes some deprecation warnings during nightly build runs. Already tested in WLED-MM. * upgrade action-github-changelog-generator to 2.4 * decode changelog into a temporary file (needed for changelog-generator 2.4) * renamed exclude-labels (deprecated); added some more tags for filtering
39 lines
943 B
YAML
39 lines
943 B
YAML
name: WLED Release CI
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
|
|
wled_build:
|
|
uses: ./.github/workflows/build.yml
|
|
|
|
release:
|
|
name: Create Release
|
|
runs-on: ubuntu-latest
|
|
needs: wled_build
|
|
steps:
|
|
- uses: actions/download-artifact@v4
|
|
with:
|
|
merge-multiple: true
|
|
- name: "✏️ Generate release changelog"
|
|
id: changelog
|
|
uses: janheinrichmerker/action-github-changelog-generator@v2.4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sinceTag: v0.15.0
|
|
maxIssues: 500
|
|
# Exclude issues that were closed without resolution from changelog
|
|
excludeLabels: 'stale,wontfix,duplicate,invalid,question,use-as-is,not_planned'
|
|
- name: Create draft release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
body: ${{ steps.changelog.outputs.changelog }}
|
|
draft: True
|
|
files: |
|
|
*.bin
|
|
*.bin.gz
|
|
|