Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
bookmark

GitHub Action

tag-exists-action

v1.0.0

tag-exists-action

bookmark

tag-exists-action

Checks if a given tag exists

Installation

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

              

- name: tag-exists-action

uses: mukunku/tag-exists-action@v1.0.0

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

Choose a version

tag-exists-action

A Github action that determines if a tag exists

Inputs

tag

Required The tag to search for.

Outputs

exists

a string value of 'true' or 'false'

Example usage

- uses: mukunku/tag-exists-action@v1.0.0
  id: checkTag
  with: 
    tag: 'v1'
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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