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:
|
jobs:
|
||||||
build-obs-binary:
|
build-obs-binary:
|
||||||
|
if: github.repository == 'SnowflakePowered/librashader'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
|
2
.github/workflows/publish-obs.yml
vendored
2
.github/workflows/publish-obs.yml
vendored
|
@ -8,6 +8,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-obs-binary:
|
build-obs-binary:
|
||||||
|
if: github.repository == 'SnowflakePowered/librashader'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
@ -49,6 +50,7 @@ jobs:
|
||||||
osc build --no-verify --trust-all-projects ${{ matrix.repo }} x86_64 ${{ matrix.spec }}
|
osc build --no-verify --trust-all-projects ${{ matrix.repo }} x86_64 ${{ matrix.spec }}
|
||||||
publish-obs:
|
publish-obs:
|
||||||
needs: build-obs-binary
|
needs: build-obs-binary
|
||||||
|
if: github.repository == 'SnowflakePowered/librashader'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: fedora:39
|
container: fedora:39
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue