A Github action that determines if a tag exists
Required The tag to search for.
a string value of 'true' or 'false'
- uses: despegar/tag-exists-action@v1.0.0
id: checkTag
with:
tag: 'v1'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: echo ${{ steps.checkTag.outputs.exists }}