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: jobs:
build-obs-binary: build-obs-binary:
if: github.repository == 'SnowflakePowered/librashader'
strategy: strategy:
matrix: matrix:
include: include:

View file

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