mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 10:01:46 +00:00
disable pr workflow runs
when this workflow is on the main branch, it'll be possible to start workflows manually, so we'll use that to test prs
This commit is contained in:
parent
61d0c734cc
commit
a4890a4c79
1 changed files with 4 additions and 8 deletions
12
.github/workflows/build-coop.yaml
vendored
12
.github/workflows/build-coop.yaml
vendored
|
|
@ -1,17 +1,13 @@
|
|||
name: Build coop
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
pull_request:
|
||||
branches:
|
||||
- "**"
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ dev ]
|
||||
|
||||
jobs:
|
||||
build-ubuntu:
|
||||
if: ${{ contains(github.event.head_commit.message, '[build]') || github.event_name == 'workflow_dispatch' }}
|
||||
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -31,7 +27,7 @@ jobs:
|
|||
name: sm64coopdx-ubuntu
|
||||
path: ./build/us_pc/sm64coopdx
|
||||
build-windows:
|
||||
if: ${{ contains(github.event.head_commit.message, '[build]') || github.event_name == 'workflow_dispatch' }}
|
||||
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[build]') }}
|
||||
runs-on: windows-latest
|
||||
defaults:
|
||||
run:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue