From f67c980dd4b272205110f1ee84b27b4781589c28 Mon Sep 17 00:00:00 2001 From: ColdDev Date: Mon, 24 Oct 2022 20:17:01 +0100 Subject: [PATCH] fix(github): re-add workflow, weird syntax bug? --- .github/workflows/maven.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index fca1e8e..0840364 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -6,20 +6,22 @@ name: Java CI with Maven on: push: branches: [ "main" ] - pull_request: - branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: build: + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v3 - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: maven - - name: Build with Maven + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build with Maven run: mvn -B package --file pom.xml - \ No newline at end of file + \ No newline at end of file