Enabling builds on all branches

This commit is contained in:
Zoe Roux 2021-04-18 18:24:38 +02:00 committed by GitHub
parent 7e3da13e73
commit 251790bad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,11 @@
name: Build name: Build
on: [push, pull_request]
on:
push:
branches:
- master
jobs: jobs:
build: build:
name: "${{matrix.artifact}}'s Build" name: "${{matrix.artifact}}'s Build"
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}
if: github.event_name == "push" || github.event.pull_request.head.repo.full_name != github.repository
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -77,6 +74,7 @@ jobs:
name: Create debian, rpm & arch releases name: Create debian, rpm & arch releases
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
if: github.ref == "refs/heads/master"
env: env:
description: "A media browser" description: "A media browser"
version: v0.0.1 #${{ github.ref }} version: v0.0.1 #${{ github.ref }}