Skip to content

Commit

Permalink
unity-action@v1.0.2
Browse files Browse the repository at this point in the history
- added undocumented automated flag to suppress user dialogs
  • Loading branch information
StephenHodgson committed Sep 17, 2024
1 parent cfa0d22 commit 1a5f1a1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
unity-version: [2020.3.x, 2021.3.x, 2022.3.x, 6000.0.x]
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 1a5f1a1

Please sign in to comment.