Attempt to prevent workflows being triggered on forks
This commit is contained in:
parent
967cbc5c3d
commit
50acbb499d
3
.github/workflows/cmake.yml
vendored
3
.github/workflows/cmake.yml
vendored
@ -7,6 +7,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: github.repository_owner == 'raspberrypi'
|
||||||
runs-on: [self-hosted, Linux, X64]
|
runs-on: [self-hosted, Linux, X64]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -45,4 +46,4 @@ jobs:
|
|||||||
working-directory: ${{github.workspace}}/build
|
working-directory: ${{github.workspace}}/build
|
||||||
shell: bash
|
shell: bash
|
||||||
# Execute the build. You can specify a specific target with "--target <NAME>"
|
# Execute the build. You can specify a specific target with "--target <NAME>"
|
||||||
run: cmake --build . --config $BUILD_TYPE --parallel ${{steps.core_count.outputs.output}}
|
run: cmake --build . --config $BUILD_TYPE --parallel ${{steps.core_count.outputs.output}}
|
||||||
|
Loading…
Reference in New Issue
Block a user