From 66f656bda55dfacad2e09ede324d7c9538f96c0c Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Sat, 27 Aug 2022 20:14:23 +1200 Subject: [PATCH] Retry import and export commands --- .github/workflows/main.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f212654..e8a3f58 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: