test-build.yml Use pre_docs_job for build-yosys

pre_job will never skip something that is not skipped by pre_docs_job, so we can gate the build step by pre_docs_job to skip it when the two later jobs are both being skipped.
This commit is contained in:
Krystine Sherwin 2024-05-11 11:00:58 +12:00
parent a8bad3060c
commit 95bd7c9b08
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ jobs:
build-yosys:
name: Reusable build
runs-on: ${{ matrix.os }}
needs: pre_docs_job
if: needs.pre_docs_job.outputs.should_skip != 'true'
env:
CC: clang
strategy: