Re-run build to get better error message

This commit is contained in:
Eric Kotato 2020-06-08 02:54:21 +03:00
parent cc6adf1540
commit ca2fa76f47

View file

@ -366,6 +366,7 @@ jobs:
- name: Kotatogram Desktop build.
if: env.ONLY_CACHE == 'false'
shell: cmd
timeout-minutes: 120
run: |
cd %REPO_NAME%
call vcvars32.bat
@ -382,6 +383,15 @@ jobs:
cmake --build build
- name: Re-run build on failure.
if: failure()
timeout-minutes: 30
run: |
cd %REPO_NAME%
call vcvars32.bat
cmake --build build
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
shell: cmd