mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Fix build path
This commit is contained in:
parent
948a53575b
commit
5952e3d2f6
BIN
dist/index.js
vendored
BIN
dist/index.js
vendored
Binary file not shown.
@ -8,11 +8,11 @@ const core = require('@actions/core');
|
||||
async function action() {
|
||||
Action.checkCompatibility();
|
||||
|
||||
const { dockerfile, workspace } = Action;
|
||||
const { dockerfile, workspace, rootFolder } = Action;
|
||||
const { version, platform, projectPath, buildName, buildsPath, method } = Input.getFromUser();
|
||||
|
||||
const baseImage = new ImageTag({ version, platform });
|
||||
const builtImage = await Docker.build({ path: workspace, dockerfile, baseImage });
|
||||
const builtImage = await Docker.build({ path: rootFolder, dockerfile, baseImage });
|
||||
|
||||
await Docker.run(builtImage, { workspace, platform, projectPath, buildName, buildsPath, method });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user