Skip to content

Commit

Permalink
More debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr committed Dec 11, 2023
1 parent 86f42e8 commit 40ad68f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
9 changes: 2 additions & 7 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

11 changes: 2 additions & 9 deletions src/model/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,10 @@ class Input {
const unityVersion = getInput('unityVersion') || 'auto';
const customImage = getInput('customImage') || '';
const rawProjectPath = getInput('projectPath') || '.';
core.info(`rawProjectPath: ${rawProjectPath}`);
const unityLicensingServer = getInput('unityLicensingServer') || '';
const unityLicense = getInput('unityLicense') || (process.env['UNITY_LICENSE'] ?? '');
let unitySerial = process.env['UNITY_SERIAL'] ?? '';
if (unitySerial === '') {
core.info('Unity Serial Unset');
}

if (unityLicense === '') {
core.info('Unity License Unset');
}
const customParameters = getInput('customParameters') || '';
const testMode = (getInput('testMode') || 'all').toLowerCase();
const coverageOptions = getInput('coverageOptions') || '';
Expand Down Expand Up @@ -167,7 +161,7 @@ class Input {
// for input validation
const packageMode = rawPackageMode === 'true';
const projectPath = rawProjectPath.replace(/\/$/, '');

core.info(`projectPath: ${projectPath}`);
// if in package mode, attempt to get the package's name, and ensure tests are present
if (packageMode) {
if (unityVersion === 'auto') {
Expand All @@ -194,7 +188,6 @@ class Input {
serial number inside the UNITY_SERIAL GitHub secret.`,
);
}
core.info('Decoding license');
unitySerial = this.getSerialFromLicenseFile(unityLicense);
}

Expand Down

0 comments on commit 40ad68f

Please sign in to comment.