File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ inputs:
1414 description : " Custom clean command"
1515 required : false
1616 default : " make clean"
17+ buildPath :
18+ description : " The relative for your build directory"
19+ required : false
20+ default : " ."
1721 host :
1822 description : " Custom remote host for HTML report"
1923 required : false
3337 wget https://public-installer-pkg.s3.us-east-2.amazonaws.com/coderrect-linux-hpc-0.9.1.tar.gz
3438 tar zxf coderrect-linux-hpc-0.9.1.tar.gz
3539 echo "$PWD/coderrect-linux-hpc-0.9.1/bin" >> $GITHUB_PATH
40+ cd ${{ inputs.buildPath }}
3641 ${{ inputs.cleanCommand }}
3742 shell: bash
38- - run : coderrect ${{ inputs.options }} ${{ inputs.buildCommand }}
43+ - run : |
44+ cd ${{ inputs.buildPath }}
45+ coderrect ${{ inputs.options }} ${{ inputs.buildCommand }}
3946 shell: bash
40- - run : coderrect -publishResults -report.host=${{ inputs.host }}
47+ - run : |
48+ cd ${{ inputs.buildPath }}
49+ coderrect -publishResults -report.host=${{ inputs.host }}
4150 shell: bash
You can’t perform that action at this time.
0 commit comments