Modify for GLEDOPTO #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: WLED Release CI | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| wled_build: | |
| uses: ./.github/workflows/build.yml | |
| with: | |
| release: true | |
| release: | |
| name: Create Release | |
| runs-on: ubuntu-latest | |
| needs: wled_build | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| merge-multiple: true | |
| - name: Create draft release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| body: "Release assets uploaded. Release notes pending..." | |
| draft: True | |
| files: | | |
| *.bin | |
| *.bin.gz | |
| - 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,external,question,use-as-is,not_planned' | |
| - name: Update release description | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| body: ${{ steps.changelog.outputs.changelog }} | |
| draft: True | |