Leftover from e1082b4a02a3f22ec11ddcbef74c3b4e87e02b43 #3
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
# https://docs.github.com/en/actions | |
on: | |
push: | |
tags: | |
- "**" | |
name: Release | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
coverage: none | |
extensions: none | |
tools: none | |
- name: Determine tag | |
run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
- name: Parse ChangeLog | |
run: build/scripts/extract-release-notes.php ${{ env.RELEASE_TAG }} > release-notes.md | |
- name: Create release | |
uses: ncipollo/release-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ env.RELEASE_TAG }} | |
name: FOAL ${{ env.RELEASE_TAG }} | |
bodyFile: release-notes.md |