no longer requiring versions to make updates easier (#89) #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create New Tag | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
create-tag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set tag version | |
id: set_version | |
run: echo "::set-output name=tag::v$(date +'%Y%m%d%H%M%S')" | |
- name: Create Git Tag | |
run: git tag ${{ steps.set_version.outputs.tag }} | |
if: success() | |
- name: Push Tag to Repository | |
run: git push origin ${{ steps.set_version.outputs.tag }} | |
if: success() |