Skip to content

Commit

Permalink
Merge pull request #146 from google/ci2
Browse files Browse the repository at this point in the history
ci: Add a github action for releases.
  • Loading branch information
jaqx0r authored May 15, 2022
2 parents dbcbefb + d3043b5 commit 874fcba
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: release

on:
# Test that this workflow parses on PR
pull_request:
push:
tags:
- v*
- version/*

permissions:
# writes to the Releases API
contents: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: softprops/action-gh-release@v1
# Only execute on a tag
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true

0 comments on commit 874fcba

Please sign in to comment.