running git lfs clone

pull/218/head
mdugdale 2021-02-14 16:56:07 +00:00
parent ecbaa71070
commit aa2c75aa96
2 changed files with 11 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -18,15 +18,15 @@ class AWS {
`apk update;
apk add git-lfs;
ls;
git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git repo;
git clone https://github.com/webbertakken/unity-builder.git builder;
git clone https://github.com/${process.env.GITHUB_REPOSITORY}.git $BUILD_ID/repo;
git clone https://github.com/webbertakken/unity-builder.git $BUILD_ID/builder;
ls;
cd repo;
cd $BUILD_ID/repo;
git checkout $GITHUB_SHA;
ls;
cp -r /data/builder/action/default-build-script /UnityBuilderAction;
cp -r /data/builder/action/entrypoint.sh /entrypoint.sh;
cp -r /data/builder/action/steps /steps;
cp -r /data/$BUILD_ID/builder/action/default-build-script /UnityBuilderAction;
cp -r /data/$BUILD_ID/builder/action/entrypoint.sh /entrypoint.sh;
cp -r /data/$BUILD_ID/builder/action/steps /steps;
`],
'/data',
'/data/',
@ -35,6 +35,10 @@ class AWS {
name: 'GITHUB_SHA',
value: process.env.GITHUB_SHA,
},
{
name: 'BUILD_ID',
value: nanoid(),
},
],
);
await this.run(