running git lfs clone
parent
ecbaa71070
commit
aa2c75aa96
File diff suppressed because one or more lines are too long
|
|
@ -18,15 +18,15 @@ class AWS {
|
||||||
`apk update;
|
`apk update;
|
||||||
apk add git-lfs;
|
apk add git-lfs;
|
||||||
ls;
|
ls;
|
||||||
git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git repo;
|
git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git $BUILD_ID/repo;
|
||||||
git clone https://github.com/webbertakken/unity-builder.git builder;
|
git clone https://github.com/webbertakken/unity-builder.git $BUILD_ID/builder;
|
||||||
ls;
|
ls;
|
||||||
cd repo;
|
cd $BUILD_ID/repo;
|
||||||
git checkout $GITHUB_SHA;
|
git checkout $GITHUB_SHA;
|
||||||
ls;
|
ls;
|
||||||
cp -r /data/builder/action/default-build-script /UnityBuilderAction;
|
cp -r /data/$BUILD_ID/builder/action/default-build-script /UnityBuilderAction;
|
||||||
cp -r /data/builder/action/entrypoint.sh /entrypoint.sh;
|
cp -r /data/$BUILD_ID/builder/action/entrypoint.sh /entrypoint.sh;
|
||||||
cp -r /data/builder/action/steps /steps;
|
cp -r /data/$BUILD_ID/builder/action/steps /steps;
|
||||||
`],
|
`],
|
||||||
'/data',
|
'/data',
|
||||||
'/data/',
|
'/data/',
|
||||||
|
|
@ -35,6 +35,10 @@ class AWS {
|
||||||
name: 'GITHUB_SHA',
|
name: 'GITHUB_SHA',
|
||||||
value: process.env.GITHUB_SHA,
|
value: process.env.GITHUB_SHA,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'BUILD_ID',
|
||||||
|
value: nanoid(),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
await this.run(
|
await this.run(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue