speed up checking out nightly branch
This commit is contained in:
parent
ad83c2c5a9
commit
d4f039cb50
2
.github/push_artifacts.sh
vendored
2
.github/push_artifacts.sh
vendored
@ -5,7 +5,7 @@ set -ex -o xtrace
|
|||||||
BUILDPATH=${PWD}
|
BUILDPATH=${PWD}
|
||||||
BRANCH="`git log --max-count=1 --date=short --abbrev=8 --pretty=format:"%cd_%h"`"
|
BRANCH="`git log --max-count=1 --date=short --abbrev=8 --pretty=format:"%cd_%h"`"
|
||||||
|
|
||||||
git clone https://${GH_TOKEN}@github.com/OpenSC/Nightly.git > /dev/null 2>&1
|
git clone --single-branch https://${GH_TOKEN}@github.com/OpenSC/Nightly.git > /dev/null 2>&1
|
||||||
cd Nightly
|
cd Nightly
|
||||||
git checkout -b "${BRANCH}"
|
git checkout -b "${BRANCH}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user