Skip to content

Commit

Permalink
unity-action@v1.0.2 (#3)
Browse files Browse the repository at this point in the history
- added undocumented automated flag to suppress user dialogs
  • Loading branch information
StephenHodgson authored Sep 17, 2024
1 parent 7414294 commit d0bdf2c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
unity-version:
- 2019.4.40f1 (ffc62b691db5)
- 2020.3.48f1 (b805b124c6b7)
- 2021.3.41f1 (6c5a9e20c022)
- 2022.3.40f1 (cbdda657d2f0)
- 6000.0.13f1 (53a692e3fca9)
unity-version: [2021.3.x, 2022.3.x, 6000.0.x]
include: # for each os specify the build targets
- os: ubuntu-latest
build-target: StandaloneLinux64
Expand Down
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26224,6 +26224,9 @@ async function ValidateInputs() {
core.debug(`Log File Path:\n > "${logPath}"`);
args.push(`-logFile`, logPath);
}
if (!inputArgs.includes(`-automated`)) {
args.push(`-automated`);
}
if (inputArgs) {
args.push(...inputArgs);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unity-action",
"version": "1.0.1",
"version": "1.0.2",
"description": "A Github Action to execute Unity Editor command line arguments.",
"author": "buildalon",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions src/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ async function ValidateInputs(): Promise<[string, string[]]> {
core.debug(`Log File Path:\n > "${logPath}"`);
args.push(`-logFile`, logPath);
}
if (!inputArgs.includes(`-automated`)) {
args.push(`-automated`);
}
if (inputArgs) {
args.push(...inputArgs);
}
Expand Down

0 comments on commit d0bdf2c

Please sign in to comment.