File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ inputs:
34
34
description : ' If true, only check if the test scripts are valid and skip test execution'
35
35
default : " false"
36
36
required : false
37
+ github-workspace :
38
+ description : ' The path to the GitHub workspace'
39
+ default : ${{ github.workspace }}
40
+ required : false
37
41
38
42
runs :
39
43
using : node20
Original file line number Diff line number Diff line change @@ -34766,7 +34766,7 @@ function cleanScriptPath(scriptPath) {
34766
34766
* */
34767
34767
const baseDir = process.env['GITHUB_WORKSPACE'] || '';
34768
34768
const cleanedScriptPath = scriptPath.replace(baseDir, '');
34769
- return scriptPath .trim();
34769
+ return cleanedScriptPath .trim();
34770
34770
}
34771
34771
exports.cleanScriptPath = cleanScriptPath;
34772
34772
Original file line number Diff line number Diff line change @@ -58,6 +58,6 @@ export function cleanScriptPath(scriptPath: string): string {
58
58
const baseDir = process . env [ 'GITHUB_WORKSPACE' ] || '' ;
59
59
const cleanedScriptPath = scriptPath . replace ( baseDir , '' ) ;
60
60
61
- return scriptPath . trim ( ) ;
61
+ return cleanedScriptPath . trim ( ) ;
62
62
63
63
}
You can’t perform that action at this time.
0 commit comments