We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350501e commit 781a98aCopy full SHA for 781a98a
build/compileSU2.sh
@@ -45,8 +45,10 @@ if [ ! -z "$branch" ]; then
45
fi
46
cd "src"
47
if [ -d $name ]; then
48
+ # Remove any previous local repo. For non-ephemeral self-hosted runners
49
rm -rf $name
50
51
+ # Clone only the latest commit, without the Git history. It is much faster this way.
52
git clone --recursive --depth=1 --shallow-submodules https://github.com/su2code/SU2 $name
53
cd $name
54
git config --add remote.origin.fetch '+refs/pull/*/merge:refs/remotes/origin/refs/pull/*/merge'
0 commit comments