Prevent packaging runs outside of Zoneminder\zoneminder repo. I noted that on my fork these workflows are running and failing, well maybe not aarch64 it is just waiting for a runner.
parent
07bf78b6bf
commit
34e274bbcd
|
|
@ -19,6 +19,7 @@ env:
|
|||
jobs:
|
||||
build-debian:
|
||||
name: Build & sign .deb (${{ matrix.distro }})
|
||||
if: github.repository == 'ZoneMinder/zoneminder'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
@ -134,7 +135,7 @@ jobs:
|
|||
release:
|
||||
name: Create GitHub Release (on tag)
|
||||
needs: build-debian
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
if: github.repository == 'ZoneMinder/zoneminder' && startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ env:
|
|||
jobs:
|
||||
build-debian:
|
||||
name: Build & sign .deb (${{ matrix.distro }})
|
||||
if: github.repository == 'ZoneMinder/zoneminder'
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
@ -130,7 +131,7 @@ jobs:
|
|||
release:
|
||||
name: Create GitHub Release (on tag)
|
||||
needs: build-debian
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
if: github.repository == 'ZoneMinder/zoneminder' && startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
package:
|
||||
if: github.repository == 'ZoneMinder/zoneminder'
|
||||
strategy:
|
||||
matrix:
|
||||
os_dist:
|
||||
|
|
|
|||
Loading…
Reference in New Issue