From d4f039cb50d3632cdacb38c5c96d33f8f7003311 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Tue, 20 Nov 2018 13:02:29 +0100 Subject: [PATCH] speed up checking out nightly branch --- .github/push_artifacts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/push_artifacts.sh b/.github/push_artifacts.sh index 25b481ab..a24d2452 100755 --- a/.github/push_artifacts.sh +++ b/.github/push_artifacts.sh @@ -5,7 +5,7 @@ set -ex -o xtrace BUILDPATH=${PWD} 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 git checkout -b "${BRANCH}"