From 251790bad2455c69781b7c1ed2d447c54c4214ac Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 18 Apr 2021 18:24:38 +0200 Subject: [PATCH] Enabling builds on all branches --- .github/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd47b7b8..a775659f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,14 +1,11 @@ name: Build - -on: - push: - branches: - - master +on: [push, pull_request] jobs: build: name: "${{matrix.artifact}}'s Build" runs-on: ${{matrix.os}} + if: github.event_name == "push" || github.event.pull_request.head.repo.full_name != github.repository strategy: fail-fast: false matrix: @@ -77,6 +74,7 @@ jobs: name: Create debian, rpm & arch releases runs-on: ubuntu-latest needs: build + if: github.ref == "refs/heads/master" env: description: "A media browser" version: v0.0.1 #${{ github.ref }}