Wait for asset import before build

Generally asset import will finish before build.
This commit is contained in:
Leroy Hopson 2023-01-26 08:30:17 +13:00
parent cbc13fa32c
commit 1367133b25
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -248,17 +248,6 @@ jobs:
with: with:
version: ${{ matrix.godot_version }} version: ${{ matrix.godot_version }}
bits: ${{ matrix.bits }} 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 - name: Wait for asset import
uses: fountainhead/action-wait-for-check@v1.1.0 uses: fountainhead/action-wait-for-check@v1.1.0
with: with:
@ -270,6 +259,17 @@ jobs:
with: with:
name: imports-${{ matrix.os }} name: imports-${{ matrix.os }}
path: .godot 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 - name: Run tests
run: godot -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.ci.json run: godot -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.ci.json
- name: Run unix tests - name: Run unix tests