mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Minor cleanup
This commit is contained in:
parent
d5552eaa01
commit
ca2bcea3ad
@ -14,5 +14,8 @@ trim_trailing_whitespace = true
|
|||||||
max_line_length = off
|
max_line_length = off
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
max_line_length = off
|
||||||
|
|
||||||
[COMMIT_EDITMSG]
|
[COMMIT_EDITMSG]
|
||||||
max_line_length = 0
|
max_line_length = off
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,8 +1,4 @@
|
|||||||
import Action from './model/action';
|
import { Action, Docker, Input, ImageTag, BuildParameters } from './model';
|
||||||
import Docker from './model/docker';
|
|
||||||
import ImageTag from './model/image-tag';
|
|
||||||
import Input from './model/input';
|
|
||||||
import BuildParameters from './model/build-parameters';
|
|
||||||
|
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
|
|
||||||
|
8
src/model/index.js
Normal file
8
src/model/index.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import Action from './action';
|
||||||
|
import BuildParameters from './build-parameters';
|
||||||
|
import Docker from './docker';
|
||||||
|
import Input from './input';
|
||||||
|
import ImageTag from './image-tag';
|
||||||
|
import Platform from './platform';
|
||||||
|
|
||||||
|
export { Action, BuildParameters, Docker, Input, ImageTag, Platform };
|
@ -7,7 +7,7 @@ class Input {
|
|||||||
// Input variables specified in workflows using "with" prop.
|
// Input variables specified in workflows using "with" prop.
|
||||||
const unityVersion = core.getInput('unityVersion');
|
const unityVersion = core.getInput('unityVersion');
|
||||||
const targetPlatform = core.getInput('targetPlatform') || Platform.default;
|
const targetPlatform = core.getInput('targetPlatform') || Platform.default;
|
||||||
const projectPath = core.getInput('projectPath');
|
const projectPath = core.getInput('projectPath') || '.';
|
||||||
const buildName = core.getInput('buildName') || targetPlatform;
|
const buildName = core.getInput('buildName') || targetPlatform;
|
||||||
const buildsPath = core.getInput('buildsPath') || 'build';
|
const buildsPath = core.getInput('buildsPath') || 'build';
|
||||||
const buildMethod = core.getInput('buildMethod'); // processed in docker file
|
const buildMethod = core.getInput('buildMethod'); // processed in docker file
|
||||||
|
Loading…
Reference in New Issue
Block a user