We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70a2e46 commit 2898f6bCopy full SHA for 2898f6b
.github/workflows/ci-test.yaml
@@ -48,7 +48,7 @@ jobs:
48
sed -i 's/--abort-on-container-exit/-d/' bin/first-build.sh
49
TAB=$'\t'
50
export FALLBACK_BRANCH=$([ "$GITHUB_BRANCH" == "master" ] && echo "main" && echo "master" || echo "develop")
51
- git submodule foreach bash -c 'git reset --hard && git clean -fd && git checkout "${GITHUB_BRANCH}" || git checkout develop || git checkout master || git checkout main || git checkout "${FALLBACK_BRANCH}"'
+ git submodule foreach bash -c 'git checkout . && git checkout "${GITHUB_BRANCH}" || git checkout develop || git checkout master || git checkout main || git checkout "${FALLBACK_BRANCH}"'
52
git submodule foreach git rev-parse --abbrev-ref HEAD
53
54
- name: Run Script
0 commit comments