|
|
@ -1,8 +1,7 @@
|
|
|
|
name: Release Creation
|
|
|
|
name: Release Creation
|
|
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
workflow_dispatch:
|
|
|
|
types: [published]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
build:
|
|
|
@ -21,7 +20,9 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
# Change the update file
|
|
|
|
# Change the update file
|
|
|
|
- name: Modify updates.txt
|
|
|
|
- name: Modify updates.txt
|
|
|
|
|
|
|
|
env:
|
|
|
|
|
|
|
|
changelog: ${{ steps.build_changelog }}
|
|
|
|
uses: jaywcjlove/github-action-modify-file-content@main
|
|
|
|
uses: jaywcjlove/github-action-modify-file-content@main
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: docs\updates.txt
|
|
|
|
path: docs\updates.txt
|
|
|
|
body: "{{date:YYYY-MM-DD HH:mm}}\n${{ steps.github_release.outputs.changelog }}"
|
|
|
|
body: "{{date:YYYY-MM-DD HH:mm}}\n${{ steps.build_changelog }}"
|