mirror of
https://github.com/hathach/tinyusb.git
synced 2026-03-04 14:47:13 +00:00
fix ci
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -98,7 +98,7 @@ jobs:
|
||||
|
||||
code-metrics:
|
||||
needs: [ check-paths, cmake ]
|
||||
if: needs.check-paths.outputs.code_changed == true
|
||||
if: needs.check-paths.outputs.code_changed == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
@ -196,7 +196,7 @@ jobs:
|
||||
# ---------------------------------------
|
||||
build-os:
|
||||
needs: [ check-paths ]
|
||||
if: needs.check-paths.outputs.code_changed == true
|
||||
if: needs.check-paths.outputs.code_changed == 'true'
|
||||
uses: ./.github/workflows/build_util.yml
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -240,7 +240,7 @@ jobs:
|
||||
# ---------------------------------------
|
||||
hil-build:
|
||||
needs: [ check-paths, set-matrix ]
|
||||
if: needs.check-paths.outputs.code_changed == true && github.repository_owner == 'hathach'
|
||||
if: needs.check-paths.outputs.code_changed == 'true' && github.repository_owner == 'hathach'
|
||||
uses: ./.github/workflows/build_util.yml
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -301,7 +301,7 @@ jobs:
|
||||
hil-hfp:
|
||||
needs: [ check-paths ]
|
||||
if: |
|
||||
needs.check-paths.outputs.code_changed == true &&
|
||||
needs.check-paths.outputs.code_changed == 'true' &&
|
||||
github.repository_owner == 'hathach' &&
|
||||
!(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true)
|
||||
runs-on: [ self-hosted, Linux, X64, hifiphile ]
|
||||
|
||||
2
.github/workflows/build_util.yml
vendored
2
.github/workflows/build_util.yml
vendored
@ -34,7 +34,7 @@ on:
|
||||
type: boolean
|
||||
code-changed:
|
||||
required: false
|
||||
default: false
|
||||
default: true
|
||||
type: boolean
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user