Skip to content

Commit

Permalink
ci: force trigger mirrorc for release
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Feb 8, 2025
1 parent 9275193 commit 2834fca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,12 @@ jobs:
tag_name: ${{ needs.meta.outputs.tag }}
prerelease: ${{ needs.meta.outputs.is_pre_release == 'true' }}

- name: Trigger MirrorChyanUploading
run: |
gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create issue if failed to release
if: failure() || steps.nuget.outputs.failed || steps.pip.outputs.failed || steps.nodejs.outputs.failed
uses: actions-cool/issues-helper@v3
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/mirrorchyan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: MirrorChyan Uploading

on:
workflow_dispatch:
release:
types: [published]

jobs:
mirrorchyan:
Expand Down

0 comments on commit 2834fca

Please sign in to comment.