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 1d5e952 commit a7f40a7Copy full SHA for a7f40a7
entrypoint.sh
@@ -23,7 +23,7 @@ export DISPLAY=:6
23
# Clone, and checkout the revision if any
24
# Removed --depth 1 because we want to read vignette c/m times
25
echo "::group::Cloning R package repository"
26
-git clone --recurse-submodules "$URL" "${REPO}" || rm -Rf ${REPO} && git clone "$URL" "${REPO}"
+git clone --recurse-submodules "$URL" "${REPO}" || (rm -Rf ${REPO} && git clone "$URL" "${REPO}")
27
DEFAULT_BRANCH=$(git -C "${REPO}" branch --show-current)
28
29
if [ "${2}" ]; then
0 commit comments