1# Automatically perform a release whenever a new "release-like" tag is pushed to the repo. 2name: Release 3 4on: 5 push: 6 tags: 7 # Detect tags that look like a release. 8 # Note that we don't use a "v" prefix to help anchor this pattern. 9 # This is purely a matter of preference. 10 - "*.*.*" 11 12jobs: 13 release: 14 # Re-use https://github.com/bazel-contrib/.github/blob/v7/.github/workflows/release_ruleset.yaml 15 uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7 16 with: 17 prerelease: false 18 release_files: rules_cc-*.tar.gz