Copy changelog to root #10
Workflow file for this run
This file contains 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
on: | |
push: | |
branches: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Copy changelog to root | |
# Can't use this path directly for ffurrer2/extract-release-notes, seems there is a bug. | |
run: cp ./src/docs/changes/README.md ./CHANGELOG.md | |
- name: Extract release notes | |
uses: ffurrer2/extract-release-notes@v2 | |
with: | |
changelog_file: CHANGELOG.md | |
release_notes_file: RELEASE_NOTES.md | |
- name: Print | |
run: cat RELEASE_NOTES.md |