File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
.github/actions/prepare-test Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ inputs:
1212 description : " If true, we setup kotlin"
1313 default : ' true'
1414 required : true
15+ test-directory :
16+ description : " The directory containing the test project that should be moved to the workspace root"
17+ required : false
18+ default : " tests/multi-language-repo"
1519outputs :
1620 tools-url :
1721 description : " The value that should be passed as the 'tools' input of the 'init' step."
@@ -21,10 +25,12 @@ runs:
2125 steps :
2226 - name : Move codeql-action
2327 shell : bash
28+ env :
29+ TEST_DIR : ${{ inputs.test-directory }}
2430 run : |
2531 mkdir ../action
2632 mv * .github ../action/
27- mv ../action/tests/multi-language-repo /{*,.github} .
33+ mv ../action/$TEST_DIR /{*,.github} .
2834 mv ../action/.github/workflows .github
2935 - id : get-url
3036 name : Determine URL
You can’t perform that action at this time.
0 commit comments