-
Notifications
You must be signed in to change notification settings - Fork 12
53 lines (45 loc) · 1.56 KB
/
mirrorchyan_release_note.yml
File metadata and controls
53 lines (45 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Mirror酱为第三方分发服务,新项目默认关闭
# 若有需要请联系 Mirror酱 开通,直接自行开启是无法使用的
# https://mirrorchyan.com/
name: mirrorchyan_release_note
on:
workflow_dispatch:
inputs:
tag:
default: ''
required: false
release:
types: [edited]
jobs:
mirrorchyan_mfa:
runs-on: ubuntu-latest
# Mirror酱为第三方分发服务,新项目默认关闭
# 若有需要请联系 Mirror酱 开通,直接自行开启是无法使用的
# https://mirrorchyan.com/
if: ${{ github.repository_owner == 'Saratoga-Official' }}
steps:
- id: uploading
uses: MirrorChyan/release-note-action@v1
with:
mirrorchyan_rid: MaaJR
version_name: ${{ inputs.tag }}
owner: Saratoga-Official
repo: MRA
github_token: ${{ secrets.GITHUB_TOKEN }}
upload_token: ${{ secrets.MirrorChyanUploadToken }}
mirrorchyan_mxu:
runs-on: ubuntu-latest
# Mirror酱为第三方分发服务,新项目默认关闭
# 若有需要请联系 Mirror酱 开通,直接自行开启是无法使用的
# https://mirrorchyan.com/
if: ${{ github.repository_owner == 'Saratoga-Official' }}
steps:
- id: uploading
uses: MirrorChyan/release-note-action@v1
with:
mirrorchyan_rid: MaaJR-MXU
version_name: ${{ inputs.tag }}
owner: Saratoga-Official
repo: MRA
github_token: ${{ secrets.GITHUB_TOKEN }}
upload_token: ${{ secrets.MirrorChyanUploadToken }}