Merge pull request #44 from DeNA/goodbye-bins #43
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: Update major version and latest tag | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
tag: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- uses: nowsprinting/check-version-format-action@98485692a883d962227b09f40f29a63de0771299 # v4.0.2 | |
id: version | |
with: | |
prefix: v | |
- name: Update major version and latest tag | |
run: | | |
git push --force origin 'HEAD:refs/heads/${{ steps.version.outputs.major_prerelease }}' | |
git push --force origin 'HEAD:refs/heads/latest' | |
if: steps.version.outputs.is_valid == 'true' |