Update yakos-build.yml

This commit is contained in:
Miguel 2025-06-09 11:59:03 +02:00 committed by GitHub
parent 4b529c722d
commit 33dc7fbc45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,13 +37,20 @@ jobs:
- name: Fetch tags
run: git fetch --prune --unshallow --tags
- name: Update canary tag
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag yako_canary
git push origin yako_canary
- name: Delete previous release
run: |
gh release delete --yes yako_canary
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"