actions/tag/action.yaml

17 lines
331 B
YAML
Raw Normal View History

2023-11-23 21:49:27 -05:00
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}}