Skip to content

Commit

Permalink
Create tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mertia-himanshu authored Nov 2, 2021
1 parent 87e1e35 commit c2ef623
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-18.04
steps:
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
with:
# Optionally strip `v` prefix
strip_v: true

- name: Use tag
run: export VERSION=${{steps.tag.outputs.tag}}

- name : print tag
run: echo $VERSION

0 comments on commit c2ef623

Please sign in to comment.