night build script updates
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
This commit is contained in:
7
.github/workflows/nightly.yml
vendored
7
.github/workflows/nightly.yml
vendored
@@ -23,12 +23,13 @@ jobs:
|
|||||||
run: ls -la
|
run: ls -la
|
||||||
- name: "✏️ Generate release changelog"
|
- name: "✏️ Generate release changelog"
|
||||||
id: changelog
|
id: changelog
|
||||||
uses: janheinrichmerker/action-github-changelog-generator@v2.3
|
uses: janheinrichmerker/action-github-changelog-generator@v2.4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
sinceTag: v0.15.0
|
sinceTag: v0.15.0
|
||||||
|
output: CHANGELOG_NIGHTLY.md
|
||||||
# Exclude issues that were closed without resolution from changelog
|
# Exclude issues that were closed without resolution from changelog
|
||||||
exclude-labels: 'stale,wontfix,duplicate,invalid'
|
excludeLabels: 'stale,wontfix,duplicate,invalid,question,use-as-is,not_planned'
|
||||||
- name: Update Nightly Release
|
- name: Update Nightly Release
|
||||||
uses: andelf/nightly-release@main
|
uses: andelf/nightly-release@main
|
||||||
env:
|
env:
|
||||||
@@ -37,7 +38,7 @@ jobs:
|
|||||||
tag_name: nightly
|
tag_name: nightly
|
||||||
name: 'Nightly Release $$'
|
name: 'Nightly Release $$'
|
||||||
prerelease: true
|
prerelease: true
|
||||||
body: ${{ steps.changelog.outputs.changelog }}
|
body_path: CHANGELOG_NIGHTLY.md
|
||||||
files: |
|
files: |
|
||||||
*.bin
|
*.bin
|
||||||
*.bin.gz
|
*.bin.gz
|
||||||
|
|||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -20,13 +20,13 @@ jobs:
|
|||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
- name: "✏️ Generate release changelog"
|
- name: "✏️ Generate release changelog"
|
||||||
id: changelog
|
id: changelog
|
||||||
uses: janheinrichmerker/action-github-changelog-generator@v2.3
|
uses: janheinrichmerker/action-github-changelog-generator@v2.4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
sinceTag: v0.15.0
|
sinceTag: v0.15.0
|
||||||
maxIssues: 500
|
maxIssues: 500
|
||||||
# Exclude issues that were closed without resolution from changelog
|
# Exclude issues that were closed without resolution from changelog
|
||||||
exclude-labels: 'stale,wontfix,duplicate,invalid'
|
excludeLabels: 'stale,wontfix,duplicate,invalid,question,use-as-is,not_planned'
|
||||||
- name: Create draft release
|
- name: Create draft release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user