Update cmake workflow to trigger on push + pull request. Only run in raspberry pi repo (not on forks)
This commit is contained in:
parent
47cee38988
commit
482d9657d3
3
.github/workflows/cmake.yml
vendored
3
.github/workflows/cmake.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
name: CMake
|
name: CMake
|
||||||
on: [push]
|
on: [push, pull_request]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||||
@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user