Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
dist
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHodgson committed Jul 18, 2024
1 parent 02b57c3 commit addc93d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26197,19 +26197,18 @@ async function Run() {
var args = `--activate-ulf --username "${username}" --password "${password}"`;

if (licenseType.toLowerCase().startsWith('pro')) {
var serial = core.getInput('serial');
const serial = core.getInput('serial');

if (!serial) {
throw Error('Missing serial input');
}

var maskedSerial = serial.slice(0, -4) + `XXXX`;
const maskedSerial = serial.slice(0, -4) + `XXXX`;
core.setSecret(maskedSerial);
args += ` --serial ${serial}`;
}

await exec.exec(`"${client}" ${args}`);
await new Promise(r => setTimeout(r, 3000));

if (!licenseClient.hasExistingLicense()) {
throw Error('Unable to find Unity License!');
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit addc93d

Please sign in to comment.