Skip to content

Commit

Permalink
test-build.yml Use pre_docs_job for build-yosys
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
KrystalDelusion committed May 10, 2024
1 parent a8bad30 commit 95bd7c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 95bd7c9

Please sign in to comment.