Re-run build to get better error message
This commit is contained in:
parent
cc6adf1540
commit
ca2fa76f47
1 changed files with 10 additions and 0 deletions
10
.github/workflows/win.yml
vendored
10
.github/workflows/win.yml
vendored
|
|
@ -366,6 +366,7 @@ jobs:
|
||||||
- name: Kotatogram Desktop build.
|
- name: Kotatogram Desktop build.
|
||||||
if: env.ONLY_CACHE == 'false'
|
if: env.ONLY_CACHE == 'false'
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
timeout-minutes: 120
|
||||||
run: |
|
run: |
|
||||||
cd %REPO_NAME%
|
cd %REPO_NAME%
|
||||||
call vcvars32.bat
|
call vcvars32.bat
|
||||||
|
|
@ -382,6 +383,15 @@ jobs:
|
||||||
|
|
||||||
cmake --build build
|
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.
|
- name: Move artifact.
|
||||||
if: env.UPLOAD_ARTIFACT == 'true'
|
if: env.UPLOAD_ARTIFACT == 'true'
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue