chore: update workflows
This commit is contained in:
@@ -5,6 +5,7 @@ on:
|
||||
branches: [main]
|
||||
permissions:
|
||||
contents: write
|
||||
actions: write
|
||||
jobs:
|
||||
version:
|
||||
name: Bump version and tag
|
||||
@@ -101,3 +102,8 @@ jobs:
|
||||
fi
|
||||
git tag "v${new_version}"
|
||||
git push origin main --tags
|
||||
- name: Trigger release workflow
|
||||
if: steps.bump.outputs.skip != 'true'
|
||||
run: gh workflow run release.yml --ref "v${{ steps.bump.outputs.version }}"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user