Revert "feat: add trigger updater workflow to GitHub actions for release and alpha workflows"

This reverts commit aaefc5b479149a48740fbcc7c0e4a1370bf1d903.
This commit is contained in:
Tunglies 2025-03-14 02:00:55 +08:00
parent aaefc5b479
commit c25015ed54
2 changed files with 0 additions and 42 deletions

View File

@ -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 }}"}'

View File

@ -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 }}"}'