1818 - name : Select Changed Files
1919 id : changedfiles
2020 run : node selectChangedFiles.js
21- - name : Get branch
22- id : get_branch
23- run : node getHeadRef .js
21+ - name : Get Playbook Checkout
22+ id : get_checkout
23+ run : node getPlaybookCheckout .js
2424 - name : Setup matrix combinations
2525 id : setup-matrix-combinations
2626 run : |
3535 echo ::set-output name=matrix-combinations::{\"include\":[$MATRIX_PARAMS_COMBINATIONS]}
3636 outputs :
3737 matrix-combinations : ${{ steps.setup-matrix-combinations.outputs.matrix-combinations }}
38- head_ref : ${{ steps.get_branch.outputs.head_ref}}
38+ checkout_ref : ${{ steps.get_checkout.outputs.ref}}
39+ checkout_name : ${{ steps.get_checkout.outputs.name}}
3940
4041 build :
4142 runs-on : ubuntu-latest
@@ -50,16 +51,16 @@ jobs:
5051 - name : Checkout playbooks
5152 uses : actions/checkout@v2
5253 with :
53- repository : devonfw-tutorials /tutorials
54- ref : ${{needs.setup-matrix.outputs.head_ref }}
54+ repository : ${{needs.setup-matrix.output.checkout_name}} /tutorials
55+ ref : ${{needs.setup-matrix.outputs.checkout_ref }}
5556 path : playbooks
5657 - uses : actions/setup-node@v2-beta
5758 - name : install TS
5859 run : npm install typescript
5960 - name : npm install
6061 run : npm install
61- - name : run buildRun.sh --user ${{ github.actor }} --branch ${{needs.setup-matrix.outputs.head_ref }} --checkSyntax
62- run : sh buildRun.sh --user ${{ github.actor }} --branch ${{needs.setup-matrix.outputs.head_ref }} --checkSyntax -p ${{ matrix.tutorial }} -e test_console
62+ - name : run buildRun.sh --user ${{ github.actor }} --branch ${{needs.setup-matrix.outputs.checkout_ref }} --checkSyntax
63+ run : sh buildRun.sh --user ${{ github.actor }} --branch ${{needs.setup-matrix.outputs.checkout_ref }} --checkSyntax -p ${{ matrix.tutorial }} -e test_console
6364 - name : Check error file existence
6465 id : check_files
6566 uses : andstor/file-existence-action@v1
0 commit comments