From 0d96ecfca8be0197e799158144e81333dabe7214 Mon Sep 17 00:00:00 2001 From: Caroline Joy Bell Date: Tue, 25 Feb 2020 13:44:05 -0800 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7c89ef4..4dfffd1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,16 +1,23 @@ -name: Maven Test +name: Test Build on: [push, pull_request] jobs: build: + runs-on: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v2 - name: Set up JDK 11 - uses: actions/setup-java@v1.3.0 + uses: actions/setup-java@v1 with: - java-version: 11 + java-version: '>=11.0' + - name: Build with Maven run: mvn -B package --file pom.xml + + - name: Publish to GitHub Packages Apache Maven + run: mvn deploy + env: + GITHUB_TOKEN: ${{ github.token }}