From 1367133b25f0527e5472a3adabbd788d927e8e4a Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Thu, 26 Jan 2023 08:30:17 +1300 Subject: [PATCH] Wait for asset import before build Generally asset import will finish before build. --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c19af72..ede4ad6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -248,17 +248,6 @@ jobs: with: version: ${{ matrix.godot_version }} bits: ${{ matrix.bits }} - - name: Wait for build - uses: fountainhead/action-wait-for-check@v1.1.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - checkName: Build Docker (debug, x86_${{ matrix.bits }}) - ref: ${{ github.event.pull_request.head.sha || github.sha }} - - name: Install debug binary build artifacts - uses: actions/download-artifact@v3 - with: - name: libgodot-xterm-debug - path: addons/godot_xterm/native/bin - name: Wait for asset import uses: fountainhead/action-wait-for-check@v1.1.0 with: @@ -270,6 +259,17 @@ jobs: with: name: imports-${{ matrix.os }} path: .godot + - name: Wait for build + uses: fountainhead/action-wait-for-check@v1.1.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + checkName: Build Docker (debug, x86_${{ matrix.bits }}) + ref: ${{ github.event.pull_request.head.sha || github.sha }} + - name: Install debug binary build artifacts + uses: actions/download-artifact@v3 + with: + name: libgodot-xterm-debug + path: addons/godot_xterm/native/bin - name: Run tests run: godot -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.ci.json - name: Run unix tests