update index.js

pull/300/head
John Soros 2025-12-06 01:30:46 -06:00
parent 6e946774f7
commit 53bafea0a6
No known key found for this signature in database
GPG Key ID: 53F59EAAA99E636E
2 changed files with 3 additions and 2 deletions

3
dist/index.js vendored
View File

@ -279,6 +279,7 @@ const Docker = {
--cidfile "${cidfile}" \
--rm \
${image_environment_factory_1.default.getEnvVarString(parameters)} \
--env BEE_CACHE_DIRECTORY=c:/github/workspace/Library/bee_cache \
--env TEST_PLATFORMS="${testPlatforms}" \
--env GITHUB_WORKSPACE="c:/github/workspace" \
${sshAgent ? '--env SSH_AUTH_SOCK=c:/ssh-agent' : ''} \
@ -1016,7 +1017,7 @@ const ResultsCheck = {
core.info(`Processing file ${filepath}...`);
try {
const content = fs.readFileSync(path_1.default.join(artifactsPath, filepath), 'utf8');
if (!content.includes('<test-results') && !content.includes('<test-run')) {
if (!content.includes('<test-run')) {
// noinspection ExceptionCaughtLocallyJS
throw new Error('File does not appear to be a NUnit XML file');
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long