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 }} 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 }} diff --git a/.github/workflows/mirrorchyan_uploading.yml b/.github/workflows/mirrorchyan_uploading.yml new file mode 100644 index 0000000..5a2d0f5 --- /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: DoroHelper + + github_token: ${{ secrets.GITHUB_TOKEN }} + owner: 1204244136 + repo: DoroHelper + upload_token: ${{ secrets.MirrorChyanUploadToken }}