ci: add a packaging workflow #1
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
# Cut a release whenever a new tag is pushed to the repo. | ||
--- | ||
name: Release | ||
on: # yamllint disable rule:truthy | ||
push: | ||
branches: | ||
- "master" | ||
tags: | ||
- "*.*.*" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Create release archive and notes | ||
run: .github/workflows/create_archive_and_notes.sh | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
# Use GH feature to populate the changelog automatically | ||
generate_release_notes: true | ||
prerelease: ${{ github.ref_name == "master" }} | ||
Check failure on line 27 in .github/workflows/release.yml GitHub Actions / ReleaseInvalid workflow file
|
||
body_path: release_notes.txt | ||
fail_on_unmatched_files: true | ||
files: rules_shellcheck-*.tar.gz |