Release on tag v5.9.0-a10 #5
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: | |
tags: | |
- 'v*' | |
name: Release on tag | |
run-name: Release on tag ${{ github.ref_name }} | |
jobs: | |
build: | |
name: Build and upload ${{ github.ref_name }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Get annotation | |
id: tag-data | |
run: | | |
{ | |
echo 'annotation <<EOF' | |
git for-each-ref "${GITHUB_REF}" --format '%(contents)' | |
echo 'EOF' | |
} >> "${GITHUB_OUTPUT}" | |
- name: Build release | |
run: ./build_release.sh | |
- name: Publish release | |
uses: softprops/action-gh-release@v2 | |
with: | |
make_latest: true | |
body: ${{ steps.tag-data.outputs.annotation }} | |
files: dist/* |