Skip to content

Commit 8e697cb

Browse files
authored
Merge pull request #3 from MirrorChyanDesu/main
ci: add mirrorchyan uploading
2 parents ce3fbb2 + 39f63bf commit 8e697cb

4 files changed

Lines changed: 12 additions & 29 deletions

File tree

.github/workflows/install.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,7 @@ jobs:
517517
prerelease: ${{ needs.meta.outputs.is_prerelease == 'true' }}
518518

519519
- name: Trigger MirrorChyanUploading
520-
if: false
521-
# if: ${{ github.repository_owner == 'MaaXYZ' }}
520+
if: ${{ github.repository_owner == 'originalsage' }}
522521
shell: bash
523522
run: |
524523
gh workflow run --repo $GITHUB_REPOSITORY mirrorchyan_release.yml -f tag=${{ needs.meta.outputs.tag }}
Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Mirror酱为第三方分发服务,新项目默认关闭
2-
# 若有需要请联系 Mirror酱 开通,直接自行开启是无法使用的
3-
# https://mirrorchyan.com/
4-
51
name: mirrorchyan_release
62

73
on:
@@ -10,17 +6,11 @@ on:
106
tag:
117
default: ''
128
required: false
13-
# release:
14-
# types: [released]
159

1610
jobs:
1711
mirrorchyan:
12+
if: ${{ github.repository_owner == 'originalsage' }}
1813
runs-on: macos-latest
19-
# Mirror酱为第三方分发服务,新项目默认关闭
20-
# 若有需要请联系 Mirror酱 开通,直接自行开启是无法使用的
21-
# https://mirrorchyan.com/
22-
if: false
23-
# if: ${{ github.repository_owner == 'MaaXYZ' }}
2414
strategy:
2515
fail-fast: false
2616
matrix:
@@ -30,14 +20,14 @@ jobs:
3020
- uses: MirrorChyan/uploading-action@v1
3121
with:
3222
filetype: latest-release
33-
filename: ${{ format('MaaXXX-{0}-{1}-*', matrix.os, matrix.arch) }}
34-
mirrorchyan_rid: MaaXXX
23+
filename: ${{ format('MR3A-{0}-{1}-*', matrix.os, matrix.arch) }}
24+
mirrorchyan_rid: MR3A
3525
tag: ${{ inputs.tag }}
3626

3727
os: ${{ matrix.os }}
3828
arch: ${{ matrix.arch }}
3929

40-
owner: MaaXYZ
41-
repo: MaaXXX
30+
owner: originalsage
31+
repo: MR3A
4232
github_token: ${{ secrets.GITHUB_TOKEN }}
4333
upload_token: ${{ secrets.MirrorChyanUploadToken }}
Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Mirror酱为第三方分发服务,新项目默认关闭
2-
# 若有需要请联系 Mirror酱 开通,直接自行开启是无法使用的
3-
# https://mirrorchyan.com/
4-
51
name: mirrorchyan_release_note
62

73
on:
@@ -15,21 +11,17 @@ on:
1511

1612
jobs:
1713
mirrorchyan:
14+
if: ${{ github.repository_owner == 'originalsage' }}
1815
runs-on: macos-latest
19-
# Mirror酱为第三方分发服务,新项目默认关闭
20-
# 若有需要请联系 Mirror酱 开通,直接自行开启是无法使用的
21-
# https://mirrorchyan.com/
22-
if: false
23-
# if: ${{ github.repository_owner == 'MaaXYZ' }}
2416

2517
steps:
2618
- id: uploading
2719
uses: MirrorChyan/release-note-action@v1
2820
with:
29-
mirrorchyan_rid: MaaXXX
21+
mirrorchyan_rid: MR3A
3022
version_name: ${{ inputs.tag }}
3123

32-
owner: MaaXYZ
33-
repo: MaaXXX
24+
owner: originalsage
25+
repo: MR3A
3426
github_token: ${{ secrets.GITHUB_TOKEN }}
3527
upload_token: ${{ secrets.MirrorChyanUploadToken }}

assets/interface.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"interface_version": 2,
33
"name": "MR3A",
44
"icon": "logo.ico",
5+
"mirrorchyan_rid": "MR3A",
6+
"mirrorchyan_multiplatform": true,
57
"description": "这是一个使用 MaaFramework 创建的忍者必须死3脚本项目。",
68
"contact": "QQ: 3625720746",
79
"license": "MIT",

0 commit comments

Comments
 (0)