CI: Build outside the main branch (#1239)

This commit is contained in:
nishinji 2024-10-06 08:26:19 +09:00 committed by GitHub
parent 60092ce849
commit 2fd4861d3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 25 additions and 29 deletions

View file

@ -3,11 +3,7 @@
name: Build and Release
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
on: [push, pull_request]
concurrency:
group: ci-${{ github.event_name }}-${{ github.ref }}
@ -386,7 +382,7 @@ jobs:
path: Shadps4-qt.AppImage
pre-release:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
if: github.ref == 'refs/heads/main' && github.repository == 'shadps4-emu/shadPS4' && github.event_name == 'push'
needs: [get-info, windows-sdl, windows-qt, macos-sdl, macos-qt, linux-sdl, linux-qt]
runs-on: ubuntu-latest
steps: