1
1
name : FFXIVOpcodes (TC)
2
2
on :
3
3
push :
4
- tags :
4
+ tags :
5
5
- tc/*
6
6
workflow_dispatch :
7
7
inputs :
8
8
version :
9
- description : ' 游戏版本号(x.xx)'
9
+ description : " 游戏版本号(x.xx)"
10
10
required : true
11
- default : ' 6.01a'
11
+ default : " 6.01a"
12
12
13
13
env :
14
14
version : ${{ github.event.inputs.version || '6.1' }}
@@ -20,39 +20,39 @@ jobs:
20
20
runs-on : ubuntu-latest
21
21
22
22
steps :
23
- - uses : actions/checkout@v3
24
- with :
25
- path : repo
26
-
27
- - name : Clone FFXIVOpcodes
28
- run : git clone https://github.com/${target_repo}.git machina-wrapper-json
29
-
30
- - name : Check node version
31
- run : node -v
32
-
33
- - name : NPM install
34
- run : |
35
- cd repo
36
- npm i
37
-
38
- - name : Run data generator
39
- run : node repo/worker/machina-wrapper-json/index.mjs machina-wrapper-json ${{ env.version }}
40
-
41
- - name : Setting origin
42
- run : |
43
- cd machina-wrapper-json
44
- git remote set-url origin https://github.com/${target_repo}
45
-
46
- - name : Create Pull Request
47
- uses : peter-evans/create-pull-request@v5
48
- with :
49
- token : ${{ secrets.WORKER_ACCESS_KEY }}
50
- path : machina-wrapper-json
51
- commit-message : " feat(ipc): update for cn patch-${{ env.version }}"
52
- author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
53
- push-to-fork : ${{ env.target_fork }}
54
- branch : ci/zh/opcode-patch-${{ env.version }}
55
- base : master
56
- title : " feat(ipc): update for cn patch-${{ env.version }}"
57
- body : |
58
- This PR is generated by [ffxiv-opcode-worker](https://github.com/zhyupe/ffxiv-opcode-worker)
23
+ - uses : actions/checkout@v3
24
+ with :
25
+ path : repo
26
+
27
+ - name : Clone FFXIVOpcodes
28
+ run : git clone https://github.com/${target_repo}.git machina-wrapper-json
29
+
30
+ - name : Check node version
31
+ run : node -v
32
+
33
+ - name : NPM install
34
+ run : |
35
+ cd repo
36
+ yarn
37
+
38
+ - name : Run data generator
39
+ run : yarn node repo/worker/machina-wrapper-json/index.mjs machina-wrapper-json ${{ env.version }}
40
+
41
+ - name : Setting origin
42
+ run : |
43
+ cd machina-wrapper-json
44
+ git remote set-url origin https://github.com/${target_repo}
45
+
46
+ - name : Create Pull Request
47
+ uses : peter-evans/create-pull-request@v5
48
+ with :
49
+ token : ${{ secrets.WORKER_ACCESS_KEY }}
50
+ path : machina-wrapper-json
51
+ commit-message : " feat(ipc): update for cn patch-${{ env.version }}"
52
+ author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
53
+ push-to-fork : ${{ env.target_fork }}
54
+ branch : ci/zh/opcode-patch-${{ env.version }}
55
+ base : master
56
+ title : " feat(ipc): update for cn patch-${{ env.version }}"
57
+ body : |
58
+ This PR is generated by [ffxiv-opcode-worker](https://github.com/zhyupe/ffxiv-opcode-worker)
0 commit comments