File tree Expand file tree Collapse file tree 13 files changed +362
-28
lines changed
Expand file tree Collapse file tree 13 files changed +362
-28
lines changed Original file line number Diff line number Diff line change 1010 uses : ./.github/workflows/template.yml
1111 with :
1212 BRANCH : beta
13+ FLAVOR : mainline
Original file line number Diff line number Diff line change 1010 uses : ./.github/workflows/template.yml
1111 with :
1212 BRANCH : classic
13+ FLAVOR : cata
Original file line number Diff line number Diff line change 1010 uses : ./.github/workflows/template.yml
1111 with :
1212 BRANCH : classic_era
13+ FLAVOR : vanilla
Original file line number Diff line number Diff line change 1010 uses : ./.github/workflows/template.yml
1111 with :
1212 BRANCH : classic_era_ptr
13+ FLAVOR : vanilla
Original file line number Diff line number Diff line change 1010 uses : ./.github/workflows/template.yml
1111 with :
1212 BRANCH : classic_ptr
13+ FLAVOR : cata
Original file line number Diff line number Diff line change 99 with :
1010 BRANCH : live
1111 FORCE_UPDATE : true
12+ FLAVOR : mainline
1213
1314 ptr :
1415 uses : ./.github/workflows/template.yml
1516 with :
1617 BRANCH : ptr
1718 FORCE_UPDATE : true
19+ FLAVOR : mainline
1820
1921 ptr2 :
2022 uses : ./.github/workflows/template.yml
2123 with :
2224 BRANCH : ptr2
2325 FORCE_UPDATE : true
26+ FLAVOR : mainline
2427
2528 beta :
2629 uses : ./.github/workflows/template.yml
2730 with :
2831 BRANCH : beta
2932 FORCE_UPDATE : true
33+ FLAVOR : mainline
3034
3135 classic :
3236 uses : ./.github/workflows/template.yml
3337 with :
3438 BRANCH : classic
3539 FORCE_UPDATE : true
40+ FLAVOR : cata
3641
3742 classic_ptr :
3843 uses : ./.github/workflows/template.yml
3944 with :
4045 BRANCH : classic_ptr
4146 FORCE_UPDATE : true
47+ FLAVOR : cata
4248
4349 classic_era :
4450 uses : ./.github/workflows/template.yml
4551 with :
4652 BRANCH : classic_era
4753 FORCE_UPDATE : true
54+ FLAVOR : vanilla
4855
4956 classic_era_ptr :
5057 uses : ./.github/workflows/template.yml
5158 with :
5259 BRANCH : classic_era_ptr
5360 FORCE_UPDATE : true
61+ FLAVOR : vanilla
Original file line number Diff line number Diff line change 1010 uses : ./.github/workflows/template.yml
1111 with :
1212 BRANCH : live
13+ FLAVOR : mainline
Original file line number Diff line number Diff line change 1010 uses : ./.github/workflows/template.yml
1111 with :
1212 BRANCH : ptr
13+ FLAVOR : mainline
Original file line number Diff line number Diff line change 1010 uses : ./.github/workflows/template.yml
1111 with :
1212 BRANCH : ptr2
13+ FLAVOR : mainline
Original file line number Diff line number Diff line change 11name : template
22
33on :
4- workflow_call :
4+ workflow_dispatch :
55 inputs :
66 BRANCH :
77 description : ' Branch to run the workflow on'
88 required : true
99 default : ' live'
1010 type : string
11+ FLAVOR :
12+ description : ' Flavor to filter the input for'
13+ required : true
14+ default : ' mainline'
15+ type : choice
16+ options :
17+ - mainline
18+ - mists
19+ - cata
20+ - wrath
21+ - tbc
22+ - vanilla
1123 FORCE_UPDATE :
1224 description : ' Force update the branch'
1325 required : false
1426 default : false
1527 type : boolean
16- workflow_dispatch :
28+ workflow_call :
1729 inputs :
1830 BRANCH :
1931 description : ' Branch to run the workflow on'
2032 required : true
2133 default : ' live'
2234 type : string
35+ FLAVOR :
36+ description : ' Flavor to filter the input for'
37+ required : true
38+ default : ' mainline'
39+ type : string
2340 FORCE_UPDATE :
2441 description : ' Force update the branch'
2542 required : false
@@ -112,11 +129,12 @@ jobs:
112129 run : |
113130 set -ex
114131 branch=${{ inputs.BRANCH }}
132+ flavor=${{ inputs.FLAVOR }}
115133 cd ./.wow-ui-source
116134 remote_commit_hash=$(git rev-parse HEAD)
117135 message="Synced to commit ${remote_commit_hash}"
118136 cd ..
119- bin/annotate --inputDir=./.wow-ui-source/Interface --outputDir=./.annotations_temp/Annotations --linkPrefix="https://github.com/Gethe/wow-ui-source/blob/${branch}/Interface"
137+ bin/annotate ${flavor} --inputDir=./.wow-ui-source/Interface --outputDir=./.annotations_temp/Annotations --linkPrefix="https://github.com/Gethe/wow-ui-source/blob/${branch}/Interface"
120138 cd ./.annotations_temp
121139 git config user.name "GitHub Actions"
122140 git config user.email [email protected]
You can’t perform that action at this time.
0 commit comments