Skip to content

Commit f0fcf1c

Browse files
authored
ci: update mirrorchyan uploading (#32)
* ci: Mirror酱额外上传一份完整包 * ci: Create mirrorchyan_release_note.yml * ci: trigger mirrorchyan release note
1 parent 62a2745 commit f0fcf1c

3 files changed

Lines changed: 42 additions & 0 deletions

File tree

.github/workflows/install.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,6 @@ jobs:
211211
- name: Trigger MirrorChyanUploading
212212
run: |
213213
gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan
214+
gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan_release_note
214215
env:
215216
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/mirrorchyan.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@ on:
55

66
jobs:
77
mirrorchyan:
8+
runs-on: macos-latest
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [win]
13+
arch: [x86_64]
14+
steps:
15+
- id: uploading
16+
uses: MirrorChyan/uploading-action@v1
17+
with:
18+
filetype: latest-release
19+
filename: "MaaJR-${{ matrix.os }}-${{ matrix.arch }}-*.zip"
20+
mirrorchyan_rid: MaaJR
21+
22+
owner: Saratoga-Official
23+
repo: MaaJR
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
upload_token: ${{ secrets.MirrorChyanUploadToken }}
26+
os: ${{ matrix.os }}
27+
arch: ${{ matrix.arch }}
28+
29+
mirrorchyan_res:
830
runs-on: macos-latest
931
steps:
1032
- id: uploading
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: mirrorchyan_release_note
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types: [edited]
7+
8+
jobs:
9+
mirrorchyan:
10+
runs-on: macos-latest
11+
12+
steps:
13+
- id: uploading
14+
uses: MirrorChyan/release-note-action@v1
15+
with:
16+
mirrorchyan_rid: MaaJR
17+
18+
upload_token: ${{ secrets.MirrorChyanUploadToken }}
19+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)