Merge pull request #18 from Numigi/fix/Rivo #25
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: Create Tag | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
create-tag: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: "${{ secrets.PERSONAL_TOKEN }}" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "Create main tag" | |
id: "main" | |
uses: butlerlogic/action-autotag@stable | |
with: | |
tag_prefix: "v" | |
- name: "Create latest tag" | |
if: ${{ contains(steps.main.outputs.tagname, 'v') }} | |
uses: EndBug/latest-tag@latest |