Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
WRITE_LOG_FILES: ${{ inputs.write-log-files }}
run: |
# Setup TestLens

# Add Gradle init script
if [[ -n "$GRADLE_USER_HOME" ]]; then
if [[ "$RUNNER_OS" == "Windows" ]]; then
Expand Down Expand Up @@ -95,7 +95,7 @@ runs:
}
EOF
fi

# Patch Maven Parent POM
if [[ -f "pom.xml" ]]; then
POM_FILE="pom.xml"
Expand Down Expand Up @@ -127,6 +127,17 @@ runs:
</environmentVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<environmentVariables>
<TESTLENS_PROJECT_ID>$TESTLENS_PROJECT_ID</TESTLENS_PROJECT_ID>
<TESTLENS_GITHUB_TOKEN>$TESTLENS_GITHUB_TOKEN</TESTLENS_GITHUB_TOKEN>
<TESTLENS_WORK_UNIT_PATH>\${project.name}</TESTLENS_WORK_UNIT_PATH>
<JOB_CHECK_RUN_ID>$JOB_CHECK_RUN_ID</JOB_CHECK_RUN_ID>
</environmentVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>"
Expand Down