ci: only do OBS tasks on origin
This commit is contained in:
parent
3d74f27d77
commit
e776ee2823
1
.github/workflows/package-obs.yml
vendored
1
.github/workflows/package-obs.yml
vendored
|
@ -8,6 +8,7 @@ env:
|
|||
|
||||
jobs:
|
||||
build-obs-binary:
|
||||
if: github.repository == 'SnowflakePowered/librashader'
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
|
|
2
.github/workflows/publish-obs.yml
vendored
2
.github/workflows/publish-obs.yml
vendored
|
@ -8,6 +8,7 @@ env:
|
|||
|
||||
jobs:
|
||||
build-obs-binary:
|
||||
if: github.repository == 'SnowflakePowered/librashader'
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
|
@ -49,6 +50,7 @@ jobs:
|
|||
osc build --no-verify --trust-all-projects ${{ matrix.repo }} x86_64 ${{ matrix.spec }}
|
||||
publish-obs:
|
||||
needs: build-obs-binary
|
||||
if: github.repository == 'SnowflakePowered/librashader'
|
||||
runs-on: ubuntu-latest
|
||||
container: fedora:39
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue