ci: fixed duplicate runs
This commit is contained in:
1 parent
495a4b3fa1
commit
ff7bb55faa
5 files changed
+4
-12
No files matched your search
@@ -1,4 +1,4 @@
|
||||
name: publish AUR
|
||||
name: publish aur
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: publish Chocolatey
|
||||
name: publish chocolatey
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: publish WinGet
|
||||
name: publish winget
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
# Note that the GitHub Release will be created with a generated
|
||||
# title/body based on your changelogs.
|
||||
|
||||
name: Release
|
||||
name: release
|
||||
permissions:
|
||||
"contents": "write"
|
||||
|
||||
|
||||
@@ -92,11 +92,3 @@ jobs:
|
||||
gh api "repos/${{ github.repository }}/git/refs" \
|
||||
-f "ref=refs/tags/${TAG_NAME}" \
|
||||
-f "sha=${TAG_SHA}"
|
||||
|
||||
- name: trigger release workflow
|
||||
if: ${{ steps.release.outputs.should-release == 'true' }}
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
TAG_NAME: ${{ steps.release.outputs.tag }}
|
||||
run: |
|
||||
gh workflow run release.yml --ref "${TAG_NAME}"
|
||||
Reference in new issue
Block a user