Skip to content

Commit

Permalink
Add lighting data. Add random delay to ubuntu build start to prevent …
Browse files Browse the repository at this point in the history
…activation rate limiting. Mask partially redacted serial in addition to full serial
  • Loading branch information
AndrewKahr committed Nov 8, 2023
1 parent d362051 commit af9cac1
Show file tree
Hide file tree
Showing 11 changed files with 597 additions and 270 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-tests-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ jobs:
Library-${{ matrix.projectPath }}-ubuntu-
Library-
- name: Random Delay (to avoid activation rate limits)
run: sleep $((RANDOM % 15))

###########################
# Build #
###########################
Expand Down
5 changes: 4 additions & 1 deletion 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.

6 changes: 5 additions & 1 deletion src/model/build-parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,16 @@ class BuildParameters {
);
}
unitySerial = this.getSerialFromLicenseFile(Input.unityLicense);
core.setSecret(unitySerial);
} else {
unitySerial = Input.unitySerial!;
}
}

if (unitySerial !== undefined && unitySerial.length === 27) {
core.setSecret(unitySerial);
core.setSecret(`${unitySerial.slice(0, -4)}XXXX`);
}

return {
editorVersion,
customImage: Input.customImage,
Expand Down
8 changes: 8 additions & 0 deletions test-project/Assets/Scenes/SampleScene.meta

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

Loading

0 comments on commit af9cac1

Please sign in to comment.