mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 09:40:25 +01:00
Use wait-for rather than needs
Allows test jobs to start long-running steps before other jobs on which it depends have completed.
This commit is contained in:
parent
26aa4765d1
commit
cbc13fa32c
1 changed files with 11 additions and 5 deletions
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
|
@ -231,7 +231,6 @@ jobs:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: 'Test'
|
name: 'Test'
|
||||||
needs: [ import_assets, build_docker ] #, build_native ]
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -249,16 +248,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.godot_version }}
|
version: ${{ matrix.godot_version }}
|
||||||
bits: ${{ matrix.bits }}
|
bits: ${{ matrix.bits }}
|
||||||
- name: Install release binary build artifacts
|
- name: Wait for build
|
||||||
uses: actions/download-artifact@v3
|
uses: fountainhead/action-wait-for-check@v1.1.0
|
||||||
with:
|
with:
|
||||||
name: libgodot-xterm-release
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
path: addons/godot_xterm/native/bin
|
checkName: Build Docker (debug, x86_${{ matrix.bits }})
|
||||||
|
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||||
- name: Install debug binary build artifacts
|
- name: Install debug binary build artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: libgodot-xterm-debug
|
name: libgodot-xterm-debug
|
||||||
path: addons/godot_xterm/native/bin
|
path: addons/godot_xterm/native/bin
|
||||||
|
- name: Wait for asset import
|
||||||
|
uses: fountainhead/action-wait-for-check@v1.1.0
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
checkName: Import Assets (${{ matrix.os }})
|
||||||
|
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||||
- name: Download imports
|
- name: Download imports
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue