Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
create actions for any branch, and pre-release only for MAIN
  • Loading branch information
DanielSvoboda authored Sep 18, 2024
1 parent 6a8ba57 commit a27d8a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Build and Release

on:
push:
branches: [ "main" ]
branches: [ "*" ]
pull_request:
branches: [ "main" ]
branches: [ "*" ]

env:
BUILD_TYPE: Release
Expand Down Expand Up @@ -346,7 +346,7 @@ jobs:
path: Shadps4-qt.AppImage

pre-release:
if: github.event_name == 'push'
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: [get-info, windows-sdl, windows-qt, macos-sdl, macos-qt, linux-sdl, linux-qt]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a27d8a6

Please sign in to comment.