Retry import and export commands

This commit is contained in:
Leroy Hopson 2022-08-27 20:14:23 +12:00
parent 5222392598
commit 5e89dbd4ea
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -184,10 +184,19 @@ jobs:
name: libgodot-xterm-release
path: addons/godot_xterm/native/bin
- name: Import assets
shell: bash
run: godot --editor .github/import_assets.tscn
uses: nick-fields/retry@v2
with:
command: godot --editor .github/import_assets.tscn
retry_on: error
timeout_minutes: 5
max_attempts: 6
- name: Export HTML5
run: godot --no-window --export HTML5
uses: nick-fields/retry@v2
with:
command: godot --no-window --export HTML5
retry_on: error
timeout_minutes: 5
max_attempts: 6
- name: NPM cache
uses: c-hive/gha-npm-cache@v1
with: