File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ inputs:
1010 description : Name of the module to process.
1111 required : false
1212 Path :
13- description : Path to the folder where the modules are located .
13+ description : The path to the root of the repo .
1414 required : false
15- default : src
15+ default : ${{ github.workspace }}
1616 Debug :
1717 description : Enable debug output.
1818 required : false
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ LogGroup 'Loading inputs' {
1919 $moduleName = ($env: GITHUB_ACTION_INPUT_Name | IsNullOrEmpty) ? $env: GITHUB_REPOSITORY_NAME : $env: GITHUB_ACTION_INPUT_Name
2020 Write-Host " Module name: [$moduleName ]"
2121
22- $moduleSourceFolderPath = Join -Path - Path $env: GITHUB_ACTION_INPUT_Path ' src'
22+ $moduleSourceFolderPath = Resolve -Path - Path " $env: GITHUB_ACTION_INPUT_Path / src"
2323 if (-not (Test-Path - Path $moduleSourceFolderPath )) {
2424 throw " Module path [$moduleSourceFolderPath ] does not exist."
2525 }
You can’t perform that action at this time.
0 commit comments