Fix release notes formatting (#8) #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
name: Release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Test | |
working-directory: examples | |
run: bazelisk build //... && bazelisk test //... | |
- name: Build release artifacts and prepare release notes | |
run: | | |
.github/workflows/release_prep.sh ${{ env.GITHUB_REF_NAME }} > release_notes.txt | |
- name: Release | |
# Corresponds to the v2.0.5 tag. | |
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 | |
with: | |
# Use GH feature to populate the changelog automatically | |
generate_release_notes: true | |
body_path: release_notes.txt | |
fail_on_unmatched_files: true | |
files: bazel_env.bzl-*.tar.gz |