Bump the actions version #5
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: Bump the actions version | |
on: | |
workflow_dispatch: | |
env: | |
LATEST_TAG: 'v0' | |
jobs: | |
build: | |
name: Update the tag for the action | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- uses: fregante/setup-git-user@77c1b5542f14ab6db4b8462d6857e31deb988b09 # v2 | |
- name: Tag the actions release tag | |
run: | | |
git tag -f "${LATEST_TAG}" | |
git push -f origin "refs/tags/${LATEST_TAG}" |