@@ -2,10 +2,12 @@ name: Build zss-auth workflow
22on :
33 push :
44 branches :
5- - staging, master, rc
5+ - v1.x/staging
6+ - v1.x/master
7+ - v1.x/rc
68 pull_request :
79 types : [opened, reopened, synchronize]
8-
10+
911 workflow_dispatch :
1012 inputs :
1113 BRANCH_NAME :
1719 PERFORM_RELEASE :
1820 description : ' [Release] perform release'
1921 required : false
20-
22+
2123jobs :
2224 check-permission :
2325 runs-on : ubuntu-latest
2931 user : ${{ github.actor }}
3032 github-repo : ${{ github.repository }}
3133 github-token : ${{ secrets.GITHUB_TOKEN }}
32-
34+
3335 build :
3436 runs-on : ubuntu-latest
3537 needs : check-permission
@@ -48,40 +50,35 @@ jobs:
4850 key : ${{ runner.os }}-build-cache-node-modules-${{ hashFiles('**/package-lock.json') }}
4951 restore-keys : |
5052 ${{ runner.os }}-build-cache-node-modules-
51- - name : ' Install mocha'
52- run : npm install -g mocha
53-
5453 - name : ' [Prep 3] Setup Node'
5554 uses : actions/setup-node@v2
5655 with :
5756 node-version : 10.24.1
58-
59-
57+
6058 - name : ' [Prep 4] Setup jFrog CLI'
6159 uses : jfrog/setup-jfrog-cli@v2
6260 env :
6361 JF_ARTIFACTORY_1 : ${{ secrets.JF_ARTIFACTORY_TOKEN }}
64-
62+
6563 - name : ' [Prep 5] prepare workflow'
6664 uses : zowe-actions/zlux-builds/prepare-workflow@main
6765 with :
6866 github-user : ${{ secrets.ZOWE_ROBOT_USER }}
6967 github-password : ${{ secrets.ZOWE_ROBOT_TOKEN }}
7068 github-email : ${{ secrets.ZOWE_ROBOT_EMAIL }}
7169 github-branch : ${{ github.event.inputs.BRANCH_NAME }}
72-
70+
7371 - name : ' [Prep 6] build'
7472 uses : zowe-actions/zlux-builds/zlux-plugins@main
7573 with :
7674 build-zss : false
77-
75+
7876 - name : ' [Prep 7] packaging'
7977 uses : zowe-actions/zlux-builds/make-pax@main
8078 with :
8179 pax-ssh-username : ${{ secrets.SSH_MARIST_USERNAME }}
8280 pax-ssh-password : ${{ secrets.SSH_MARIST_RACF_PASSWORD }}
8381 pax-name : zss-auth
84-
82+
8583 - name : ' [Prep 8] deploy '
8684 uses : zowe-actions/zlux-builds/deploy-pax@main
87-
0 commit comments