use "master" in triggers

This commit is contained in:
Samuel Carlsson 2022-02-08 17:08:47 +01:00 committed by Samuel Carlsson
parent 3207c50778
commit 469604206b
1 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,9 @@ name: Java CI with Maven
on:
push:
branches: [ $default-branch ]
branches: [ master ]
pull_request:
branches: [ $default-branch ]
branches: [ master ]
jobs:
build:
@ -22,5 +22,5 @@ jobs:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
- name: maven
run: mvn -B package --file pom.xml