This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
Git Tag #166
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: Git Tag | |
on: | |
schedule: | |
- cron: "30 0 * * *" # UTC | |
workflow_dispatch: | |
jobs: | |
tag-push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
TAG_NAME=`date '+%Y-%m-%d'` | |
echo $TAG_NAME | |
git tag $TAG_NAME | |
git push origin $TAG_NAME |