Skip to content
tag

GitHub Action

Tag Exists

v1 Latest version

Tag Exists

tag

Tag Exists

Action to determine if a tag exists

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Tag Exists

uses: action-pack/tag-exists@v1

Learn more about this action in action-pack/tag-exists

Choose a version

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