Update tag/action.yaml

This commit is contained in:
2023-11-24 02:49:27 +00:00
parent db395e17b5
commit 0cc916f70b
2 changed files with 16 additions and 11 deletions

16
tag/action.yaml Normal file
View File

@ -0,0 +1,16 @@
name: Tag
desciption: Create Git tag
inputs:
tag:
type: string
required: true
description: Tag to publish
runs:
using: composite
steps:
- uses: docker://alpine/git
with:
entrypoint: git
args: tag -f ${{inputs.tag}} ${{github.sha}} && git push -f origin ${{inputs.tag}}