Skip to content

Action to determine if a tag exists.

License

Notifications You must be signed in to change notification settings

action-pack/tag-exists

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Tag Exists

Build Version Size

Action to determine if a tag exists.

Usage

To check if a tag named example exists in your current repository:

- uses: action-pack/tag-exists@v1
  id: check
  with: 
    tag: 'example'

- run: echo ${{ steps.check.outputs.exists }}

Inputs

tag

Required - The tag to search for.

repo

Optional - External repository name inowner/repo format.

Outputs

exists

A string value of 'true' or 'false'

Stars

Stars