mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 03:23:57 +08:00
Revert "feat: add trigger updater workflow to GitHub actions for release and alpha workflows"
This reverts commit aaefc5b479149a48740fbcc7c0e4a1370bf1d903.
This commit is contained in:
parent
aaefc5b479
commit
c25015ed54
21
.github/workflows/alpha.yml
vendored
21
.github/workflows/alpha.yml
vendored
@ -410,24 +410,3 @@ jobs:
|
|||||||
prerelease: true
|
prerelease: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|
||||||
trigger_updater:
|
|
||||||
name: Trigger Updater Workflow
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs:
|
|
||||||
[
|
|
||||||
check_commit,
|
|
||||||
alpha,
|
|
||||||
alpha-for-linux-arm,
|
|
||||||
alpha-for-fixed-webview2,
|
|
||||||
update_tag,
|
|
||||||
]
|
|
||||||
if: ${{ needs.check_commit.outputs.should_run == 'true' }}
|
|
||||||
steps:
|
|
||||||
- name: Trigger Updater Workflow
|
|
||||||
run: |
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token ${{ secrets.PAT_TOKEN }}" \
|
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
|
||||||
https://api.github.com/repos/${{ github.repository }}/actions/workflows/updater.yml/dispatches \
|
|
||||||
-d '{"ref":"${{ github.ref }}"}'
|
|
||||||
|
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
@ -372,24 +372,3 @@ jobs:
|
|||||||
release-tag: v${{env.VERSION}}
|
release-tag: v${{env.VERSION}}
|
||||||
installers-regex: '_(arm64|x64|x86)-setup\.exe$'
|
installers-regex: '_(arm64|x64|x86)-setup\.exe$'
|
||||||
token: ${{ secrets.WINGET_TOKEN }}
|
token: ${{ secrets.WINGET_TOKEN }}
|
||||||
|
|
||||||
trigger_updater:
|
|
||||||
name: Trigger Updater Workflow
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs:
|
|
||||||
[
|
|
||||||
release,
|
|
||||||
release-for-linux-arm,
|
|
||||||
release-for-fixed-webview2,
|
|
||||||
release-update,
|
|
||||||
release-update-for-fixed-webview2,
|
|
||||||
submit-to-winget,
|
|
||||||
]
|
|
||||||
steps:
|
|
||||||
- name: Trigger Updater Workflow
|
|
||||||
run: |
|
|
||||||
curl -X POST \
|
|
||||||
-H "Authorization: token ${{ secrets.PAT_TOKEN }}" \
|
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
|
||||||
https://api.github.com/repos/${{ github.repository }}/actions/workflows/updater.yml/dispatches \
|
|
||||||
-d '{"ref":"${{ github.ref }}"}'
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user