Create weekly tags for releases #101
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 weekly tags for releases | |
on: | |
schedule: | |
- cron: "25 5 * * 0" # Sunday at 5:25 AM UTC | |
jobs: | |
create-tag: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get current date | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y%m%d')" # Remove time | |
- uses: rickstaa/action-create-tag@v1 | |
with: | |
tag: "xena-${{ steps.date.outputs.date }}" | |
message: "Tag for xena on ${{ steps.date.outputs.date }}" | |
- uses: rickstaa/action-create-tag@v1 | |
with: | |
tag: "yoga-${{ steps.date.outputs.date }}" | |
message: "Tag for yoga on ${{ steps.date.outputs.date }}" | |
- uses: rickstaa/action-create-tag@v1 | |
with: | |
tag: "zed-${{ steps.date.outputs.date }}" | |
message: "Tag for zed on ${{ steps.date.outputs.date }}" |