|
|
|
@ -20,6 +20,18 @@ runs: |
|
|
|
|
echo "You should not run this action directly. Use setup-with-retry instead" |
|
|
|
|
exit 1 |
|
|
|
|
|
|
|
|
|
- shell: bash |
|
|
|
|
name: No retries! |
|
|
|
|
run: | |
|
|
|
|
if [ "${{ github.run_attempt }}" -gt 1 ]; then |
|
|
|
|
echo -e "\033[31m" |
|
|
|
|
echo "##################################################" |
|
|
|
|
echo " Retries not allowed! Fix the flaky test! " |
|
|
|
|
echo "##################################################" |
|
|
|
|
echo -e "\033[0m" |
|
|
|
|
exit 1 |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# do this after checkout to ensure our custom LFS config is used to pull from GitLab |
|
|
|
|
- shell: bash |
|
|
|
|
run: git lfs pull |
|
|
|
|