From 42022b8334f3a754ad7afb91db0406d81301df88 Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Sun, 13 Aug 2023 21:09:24 +0000 Subject: [PATCH] Update GitHub workflows. --- .github/workflows/main.linux.temurin.current.yml | 8 +++++++- .github/workflows/main.linux.temurin.lts.yml | 6 ++++++ .github/workflows/main.windows.temurin.current.yml | 8 +++++++- .github/workflows/main.windows.temurin.lts.yml | 6 ++++++ 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.linux.temurin.current.yml b/.github/workflows/main.linux.temurin.current.yml index 83aba87..5dbea58 100644 --- a/.github/workflows/main.linux.temurin.current.yml +++ b/.github/workflows/main.linux.temurin.current.yml @@ -14,7 +14,13 @@ jobs: - name: JDK uses: actions/setup-java@v3 with: - java-version: 19 + java-version: 20 distribution: 'temurin' - name: Build run: mvn --errors clean verify site + - name: Upload test logs + uses: actions/upload-artifact@v3 + if: always() + with: + name: test-logs + path: ./com.io7m.jserial.tests/target/surefire-reports diff --git a/.github/workflows/main.linux.temurin.lts.yml b/.github/workflows/main.linux.temurin.lts.yml index be31b96..abb3a5d 100644 --- a/.github/workflows/main.linux.temurin.lts.yml +++ b/.github/workflows/main.linux.temurin.lts.yml @@ -18,6 +18,12 @@ jobs: distribution: 'temurin' - name: Build run: mvn --errors clean verify site + - name: Upload test logs + uses: actions/upload-artifact@v3 + if: always() + with: + name: test-logs + path: ./com.io7m.jserial.tests/target/surefire-reports - name: Coverage uses: codecov/codecov-action@v1 with: diff --git a/.github/workflows/main.windows.temurin.current.yml b/.github/workflows/main.windows.temurin.current.yml index ebaf4cf..f4e1262 100644 --- a/.github/workflows/main.windows.temurin.current.yml +++ b/.github/workflows/main.windows.temurin.current.yml @@ -14,7 +14,13 @@ jobs: - name: JDK uses: actions/setup-java@v3 with: - java-version: 19 + java-version: 20 distribution: 'temurin' - name: Build run: mvn --errors clean verify site + - name: Upload test logs + uses: actions/upload-artifact@v3 + if: always() + with: + name: test-logs + path: ./com.io7m.jserial.tests/target/surefire-reports diff --git a/.github/workflows/main.windows.temurin.lts.yml b/.github/workflows/main.windows.temurin.lts.yml index 209717c..5dd7bdb 100644 --- a/.github/workflows/main.windows.temurin.lts.yml +++ b/.github/workflows/main.windows.temurin.lts.yml @@ -18,3 +18,9 @@ jobs: distribution: 'temurin' - name: Build run: mvn --errors clean verify site + - name: Upload test logs + uses: actions/upload-artifact@v3 + if: always() + with: + name: test-logs + path: ./com.io7m.jserial.tests/target/surefire-reports