ci: only do OBS tasks on origin

This commit is contained in:
chyyran 2024-02-08 18:15:24 -05:00 committed by Ronny Chan
parent 3d74f27d77
commit e776ee2823
2 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@ env:
jobs:
build-obs-binary:
if: github.repository == 'SnowflakePowered/librashader'
strategy:
matrix:
include:

View file

@ -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: