File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 echo ::set-output name=matrix-combinations::{\"include\":[$MATRIX_PARAMS_COMBINATIONS]}
3636 outputs :
3737 matrix-combinations : ${{ steps.setup-matrix-combinations.outputs.matrix-combinations }}
38- checkout_ref : ${{ steps.get_branch .outputs.ref}}
39- checkout_name : ${{ steps.get_branch .outputs.name}}
38+ checkout_ref : ${{ steps.get_checkout .outputs.ref}}
39+ checkout_name : ${{ steps.get_checkout .outputs.name}}
4040
4141 build :
4242 runs-on : ubuntu-latest
5959 run : npm install typescript
6060 - name : npm install
6161 run : npm install
62- - name : run buildRun.sh --user ${{ github.actor }} --branch ${{needs.setup-matrix.outputs.head_ref }} --checkSyntax
63- 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
6464 - name : Check error file existence
6565 id : check_files
6666 uses : andstor/file-existence-action@v1
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN });
44
55async function getPlaybookCheckout ( ) {
66 let pr = process . env . PR_NUMBER ;
7- let ref = "" ;
7+ let head = "" ;
88 try {
99 let get = await octokit . request ( 'GET /repos/{owner}/{repo}/pulls/{pull_number}' , {
1010 owner : 'devonfw-tutorials' ,
@@ -19,6 +19,7 @@ async function getPlaybookCheckout() {
1919 core . setOutput ( 'ref' , head . ref ) ;
2020 core . info ( `name : ${ head . user . login } ` ) ;
2121 core . setOutput ( 'name' , head . user . login ) ;
22+
2223}
2324
2425getPlaybookCheckout ( ) . catch ( err => {
You can’t perform that action at this time.
0 commit comments