File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 55 tag :
66 default : ' '
77 description : ' Version tag:'
8+ env :
9+ NODE_VERSION : 16.17.1
10+ PHP_VERSION : 8.1
811jobs :
912 docs-publish :
1013 if : github.event.inputs.tag != ''
@@ -17,19 +20,16 @@ jobs:
1720 - name : Use Node.js
1821 uses : actions/setup-node@v3
1922 with :
20- node-version : 16
21- - name : Cache Node.js modules
22- uses : actions/cache@v3
23+ node-version : ${{ env.NODE_VERSION }}
24+ - name : Setup PHP
25+ uses : shivammathur/setup-php@v2
2326 with :
24- path : ~/.npm
25- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26- restore-keys : |
27- ${{ runner.os }}-node-
27+ php-version : ${{ env.PHP_VERSION }}
2828 - name : Generate Docs
2929 run : |
30- npm ci
30+ composer install
3131 npm run document-check
32- npm run documentation
32+ npm run document
3333 env :
3434 SOURCE_TAG : ${{ github.event.inputs.tag }}
3535 - name : Deploy
You can’t perform that action at this time.
0 commit comments