run builder in builder
parent
43029d500d
commit
365c99eb27
|
|
@ -40,8 +40,6 @@ const core = __importStar(__webpack_require__(42186));
|
||||||
const model_1 = __webpack_require__(41359);
|
const model_1 = __webpack_require__(41359);
|
||||||
function run() {
|
function run() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log('test');
|
|
||||||
try {
|
try {
|
||||||
model_1.Action.checkCompatibility();
|
model_1.Action.checkCompatibility();
|
||||||
model_1.Cache.verify();
|
model_1.Cache.verify();
|
||||||
|
|
@ -69,6 +67,8 @@ function run() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.log('test');
|
||||||
run();
|
run();
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2102,8 +2102,8 @@ class RemoteBuilder {
|
||||||
mkdir ${steamPathFull}
|
mkdir ${steamPathFull}
|
||||||
echo "Cloning utility repositories required for building:"
|
echo "Cloning utility repositories required for building:"
|
||||||
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/unity-builder.git ${builderPathFull}
|
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}
|
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
|
||||||
|
nodejs ${builderPathFull}/dist/index.js
|
||||||
cd ${repoPathFull}
|
cd ${repoPathFull}
|
||||||
# DISABLE LFS
|
# DISABLE LFS
|
||||||
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -2,8 +2,6 @@ import * as core from '@actions/core';
|
||||||
import { Action, BuildParameters, Cache, Docker, ImageTag, Output, RemoteBuilder } from './model';
|
import { Action, BuildParameters, Cache, Docker, ImageTag, Output, RemoteBuilder } from './model';
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log('test');
|
|
||||||
try {
|
try {
|
||||||
Action.checkCompatibility();
|
Action.checkCompatibility();
|
||||||
Cache.verify();
|
Cache.verify();
|
||||||
|
|
@ -35,4 +33,6 @@ async function run() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
console.log('test');
|
||||||
run();
|
run();
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,8 @@ class RemoteBuilder {
|
||||||
mkdir ${steamPathFull}
|
mkdir ${steamPathFull}
|
||||||
echo "Cloning utility repositories required for building:"
|
echo "Cloning utility repositories required for building:"
|
||||||
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/unity-builder.git ${builderPathFull}
|
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}
|
git clone -q https://${buildParameters.githubToken}@github.com/game-ci/steam-deploy.git ${steamPathFull}
|
||||||
|
nodejs ${builderPathFull}/dist/index.js
|
||||||
cd ${repoPathFull}
|
cd ${repoPathFull}
|
||||||
# DISABLE LFS
|
# DISABLE LFS
|
||||||
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
git config --global filter.lfs.smudge "git-lfs smudge --skip -- %f"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue