mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-01 03:25:31 +02:00
fix(ci): only run benchmarks if build passed
Otherwise the benchmark steps will run indefinitely.
This commit is contained in:
parent
5f3a78cee2
commit
7a522a3410
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -356,6 +356,7 @@ jobs:
|
|||
run: godot --editor --headless --quit-after 100 || true
|
||||
- name: Wait for build
|
||||
uses: fountainhead/action-wait-for-check@v1.2.0
|
||||
id: wait-for-build
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
checkName: "Build (linux, x86_64, release) #${{ github.run_number }}"
|
||||
|
@ -366,6 +367,7 @@ jobs:
|
|||
path: addons/godot_xterm/native/bin
|
||||
merge-multiple: true
|
||||
- name: Benchmark
|
||||
if: steps.wait-for-build.outputs.conclusion == 'success'
|
||||
shell: bash
|
||||
run: just bench ${{matrix.benchmark}}
|
||||
- name: Upload results
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue