You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
801 B
32 lines
801 B
name: Release Creation
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
# Build the changelog
|
|
- name: Build Changelog
|
|
id: build_changelog
|
|
uses: mikepenz/release-changelog-builder-action@v4
|
|
with:
|
|
configuration: ".github/configs/release-changelog-builder-action.json"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# Change the update file
|
|
- name: Modify updates.txt
|
|
uses: jaywcjlove/github-action-modify-file-content@main
|
|
with:
|
|
path: docs/updates.txt
|
|
body: "#{{date:YYYY-MM-DD HH:mm}}\n${{ steps.build_changelog.outputs.changelog }}"
|
|
openDelimiter: ""
|
|
closeDelimiter: ""
|