From 0d96ecfca8be0197e799158144e81333dabe7214 Mon Sep 17 00:00:00 2001 From: Caroline Joy Bell Date: Tue, 25 Feb 2020 13:44:05 -0800 Subject: [PATCH 1/6] 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 }} From 7281c944dd920d649af07594d2818341916bf218 Mon Sep 17 00:00:00 2001 From: Caroline Joy Bell Date: Tue, 25 Feb 2020 13:56:23 -0800 Subject: [PATCH 2/6] Update maven.yml --- .github/workflows/maven.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4dfffd1..7c0df01 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,23 +1,20 @@ -name: Test Build +name: Maven Test on: [push, pull_request] jobs: build: - - runs-on: [ubuntu-latest, windows-latest] + runs-on: ${{ matrix.os }} + strategy: + matrix: + java_version: [11, 13] + os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK + uses: actions/setup-java@v1.3.0 with: - java-version: '>=11.0' - + java-version: ${{ matrix.java_version}} - 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 }} From e63ed8ce3e8008164b588fd2781afc18d4a29df6 Mon Sep 17 00:00:00 2001 From: Caroline Joy Bell Date: Tue, 25 Feb 2020 14:22:40 -0800 Subject: [PATCH 3/6] Update maven.yml --- .github/workflows/maven.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7c0df01..73ebcea 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,6 +1,6 @@ name: Maven Test -on: [push, pull_request] +on: [push] jobs: build: @@ -11,10 +11,14 @@ jobs: os: [ubuntu-latest, windows-latest] steps: + - name: Checkout - uses: actions/checkout@v2 - - name: Set up JDK - uses: actions/setup-java@v1.3.0 + + - name: Setup Java JDK + uses: actions/setup-java@v1 with: - java-version: ${{ matrix.java_version}} + java-version: ${{ matrix.java_version }} + - name: Build with Maven run: mvn -B package --file pom.xml + From 8494ffe3f3874d6fde9422860341fa3f7dd99cd6 Mon Sep 17 00:00:00 2001 From: Caroline Joy Bell Date: Tue, 25 Feb 2020 14:23:40 -0800 Subject: [PATCH 4/6] Update maven.yml --- .github/workflows/maven.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 73ebcea..5f4460b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,12 +13,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 - - name: Setup Java JDK uses: actions/setup-java@v1 with: java-version: ${{ matrix.java_version }} - - name: Build with Maven run: mvn -B package --file pom.xml From 03fdbb4acff7e5aa9a37ea5dd5fc9b3f7565ad1d Mon Sep 17 00:00:00 2001 From: Caroline Joy Bell Date: Tue, 25 Feb 2020 14:24:01 -0800 Subject: [PATCH 5/6] Update maven.yml --- .github/workflows/maven.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5f4460b..3c65351 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -19,4 +19,3 @@ jobs: java-version: ${{ matrix.java_version }} - name: Build with Maven run: mvn -B package --file pom.xml - From 40d84a86d5dd04dbe03ecf2037469b269d91d632 Mon Sep 17 00:00:00 2001 From: Caroline Joy Bell Date: Tue, 25 Feb 2020 14:25:14 -0800 Subject: [PATCH 6/6] Update maven.yml Stupid. --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 3c65351..148680d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - - uses: actions/checkout@v2 + uses: actions/checkout@v2 - name: Setup Java JDK uses: actions/setup-java@v1 with: