From 1642a452d034a969d919ab8659ae09687bfa69f0 Mon Sep 17 00:00:00 2001 From: MistEO Date: Sat, 7 Jun 2025 22:33:03 +0800 Subject: [PATCH 1/4] ci: Create mirrorchyan_uploading.yml --- .github/workflows/mirrorchyan_uploading.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/mirrorchyan_uploading.yml diff --git a/.github/workflows/mirrorchyan_uploading.yml b/.github/workflows/mirrorchyan_uploading.yml new file mode 100644 index 0000000..dc4a6c7 --- /dev/null +++ b/.github/workflows/mirrorchyan_uploading.yml @@ -0,0 +1,20 @@ +name: mirrorchyan_uploading + +on: + workflow_dispatch: + +jobs: + mirrorchyan: + runs-on: macos-latest + + steps: + - uses: MirrorChyan/uploading-action@v1 + with: + filetype: latest-release + filename: "DoroHelper.exe" + mirrorchyan_rid: full + + github_token: ${{ secrets.GITHUB_TOKEN }} + owner: 1204244136 + repo: DoroHelper + upload_token: ${{ secrets.MirrorChyanUploadToken }} From 4b31cce73c3737d028e1c12c7e4ba2d92a595df9 Mon Sep 17 00:00:00 2001 From: MistEO Date: Sat, 7 Jun 2025 22:34:21 +0800 Subject: [PATCH 2/4] ci: Create mirrorchyan_release_note.yml --- .../workflows/mirrorchyan_release_note.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/mirrorchyan_release_note.yml diff --git a/.github/workflows/mirrorchyan_release_note.yml b/.github/workflows/mirrorchyan_release_note.yml new file mode 100644 index 0000000..fa3c556 --- /dev/null +++ b/.github/workflows/mirrorchyan_release_note.yml @@ -0,0 +1,21 @@ +name: mirrorchyan_release_note + +on: + workflow_dispatch: + release: + types: [edited] + +jobs: + mirrorchyan: + runs-on: macos-latest + + steps: + - id: uploading + uses: MirrorChyan/release-note-action@v1 + with: + mirrorchyan_rid: DoroHelper + + upload_token: ${{ secrets.MirrorChyanUploadToken }} + owner: 1204244136 + repo: DoroHelper + github_token: ${{ secrets.GITHUB_TOKEN }} From 1bf6ee956f46c2551e53e9685a660e28876ef942 Mon Sep 17 00:00:00 2001 From: MistEO Date: Sat, 7 Jun 2025 22:35:15 +0800 Subject: [PATCH 3/4] ci: auto trigger mirrorchyan --- .github/workflows/Compile AHK 2.0 and Release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/Compile AHK 2.0 and Release.yml b/.github/workflows/Compile AHK 2.0 and Release.yml index 8d12a43..093d2e7 100644 --- a/.github/workflows/Compile AHK 2.0 and Release.yml +++ b/.github/workflows/Compile AHK 2.0 and Release.yml @@ -183,3 +183,11 @@ jobs: files: DoroHelper.exe env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Trigger MirrorChyanUploading + shell: bash + run: | + gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan_uploading + gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan_release_note + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 0e49d916caddf90d8e663054cd7c8cb42731f82a Mon Sep 17 00:00:00 2001 From: MistEO Date: Sat, 7 Jun 2025 22:38:06 +0800 Subject: [PATCH 4/4] fix: ci typo --- .github/workflows/mirrorchyan_uploading.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mirrorchyan_uploading.yml b/.github/workflows/mirrorchyan_uploading.yml index dc4a6c7..5a2d0f5 100644 --- a/.github/workflows/mirrorchyan_uploading.yml +++ b/.github/workflows/mirrorchyan_uploading.yml @@ -12,7 +12,7 @@ jobs: with: filetype: latest-release filename: "DoroHelper.exe" - mirrorchyan_rid: full + mirrorchyan_rid: DoroHelper github_token: ${{ secrets.GITHUB_TOKEN }} owner: 1204244136