@@ -8,14 +8,12 @@ name: Package and release 📦
88on :
99 push :
1010 tags :
11- - ' ** '
11+ - " ** "
1212
1313# a workflow is built up as jobs, and within these jobs are steps
1414jobs :
15-
1615 # "release" is a job, you can name it anything you want
1716 release :
18-
1917 # we can run our steps on pretty much anything, but the "ubuntu-latest" image is a safe bet
2018 runs-on : ubuntu-latest
2119
@@ -24,25 +22,24 @@ jobs:
2422 WAGO_API_TOKEN : ${{ secrets.WAGO_API_TOKEN }}
2523 CF_API_KEY : ${{ secrets.CF_API_KEY }}
2624 WOWI_API_TOKEN : ${{ secrets.WOWI_API_TOKEN }}
27- GITHUB_OAUTH : ${{ secrets.GITHUB_TOKEN }} # "GITHUB_TOKEN" is a secret always provided to the workflow
25+ GITHUB_OAUTH : ${{ secrets.GITHUB_TOKEN }} # "GITHUB_TOKEN" is a secret always provided to the workflow
2826
2927 # "steps" holds a list of all the steps needed to package and release our AddOn
3028 steps :
31-
3229 # we first have to clone the AddOn project, this is a required step
3330 - name : 👱👱Clone project
3431 uses : actions/checkout@v3
3532 with :
36- fetch-depth : 0 # gets entire git history, needed for automatic changelogs
33+ fetch-depth : 0 # gets entire git history, needed for automatic changelogs
3734 path : ./variant
3835
3936 - name : 🎭Get Zottelchen/adibags-creator-action
4037 uses : actions/checkout@v3
4138 with :
42- repository : Zottelchen/adibags-creator-action
43- ref : refs/heads/v2
44- persist-credentials : false
45- path : ./action
39+ repository : Zottelchen/adibags-creator-action
40+ ref : refs/heads/v2
41+ persist-credentials : false
42+ path : ./action
4643 - name : 🏹Merge
4744 run : |
4845 cp -r ./variant/* ./action
9390 cd ./dist
9491 mv AdiBags_Classic.lua AdiBags_Classical.lua
9592 mv AdiBags_Classic.toc AdiBags_Classical.toc
93+ sed -i 's/Interface\\AddOns\\AdiBags_Classic\\icon/Interface\\AddOns\\AdiBags_Classical\\icon/g' AdiBags_Classical.toc
94+ sed -i 's/AdiBags_Classic.lua/AdiBags_Classical.lua/g' AdiBags_Classical.toc
9695 git add *
9796
9897 # once cloned, we just run the GitHub Action for the packager project
0 commit comments