run builder in builder
parent
da64845ac6
commit
43029d500d
|
|
@ -40,6 +40,8 @@ const core = __importStar(__webpack_require__(42186));
|
|||
const model_1 = __webpack_require__(41359);
|
||||
function run() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('test');
|
||||
try {
|
||||
model_1.Action.checkCompatibility();
|
||||
model_1.Cache.verify();
|
||||
|
|
@ -2093,7 +2095,6 @@ class RemoteBuilder {
|
|||
apk add unzip
|
||||
apk add git-lfs
|
||||
apk add jq
|
||||
apk add jq
|
||||
apk add nodejs
|
||||
mkdir ${buildPathFull}
|
||||
mkdir ${builderPathFull}
|
||||
|
|
@ -2101,6 +2102,7 @@ class RemoteBuilder {
|
|||
mkdir ${steamPathFull}
|
||||
echo "Cloning utility repositories required for building:"
|
||||
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/unity-builder.git ${builderPathFull}
|
||||
nodejs ${builderPathFull}/dist/index.js
|
||||
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
|
||||
cd ${repoPathFull}
|
||||
# DISABLE LFS
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -2,6 +2,8 @@ import * as core from '@actions/core';
|
|||
import { Action, BuildParameters, Cache, Docker, ImageTag, Output, RemoteBuilder } from './model';
|
||||
|
||||
async function run() {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('test');
|
||||
try {
|
||||
Action.checkCompatibility();
|
||||
Cache.verify();
|
||||
|
|
|
|||
|
|
@ -102,7 +102,6 @@ class RemoteBuilder {
|
|||
apk add unzip
|
||||
apk add git-lfs
|
||||
apk add jq
|
||||
apk add jq
|
||||
apk add nodejs
|
||||
mkdir ${buildPathFull}
|
||||
mkdir ${builderPathFull}
|
||||
|
|
@ -110,6 +109,7 @@ class RemoteBuilder {
|
|||
mkdir ${steamPathFull}
|
||||
echo "Cloning utility repositories required for building:"
|
||||
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/unity-builder.git ${builderPathFull}
|
||||
nodejs ${builderPathFull}/dist/index.js
|
||||
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
|
||||
cd ${repoPathFull}
|
||||
# DISABLE LFS
|
||||
|
|
|
|||
Loading…
Reference in New Issue