From 3f57e59529211f8dbd03e38a9bb7a99c3a16c6c8 Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Sun, 13 Aug 2023 21:09:25 +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..487ffe8 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.claypot.tests/target/surefire-reports diff --git a/.github/workflows/main.linux.temurin.lts.yml b/.github/workflows/main.linux.temurin.lts.yml index 3c5fa79..7a4133b 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.claypot.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..fcccdb8 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.claypot.tests/target/surefire-reports diff --git a/.github/workflows/main.windows.temurin.lts.yml b/.github/workflows/main.windows.temurin.lts.yml index 209717c..c79726b 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.claypot.tests/target/surefire-reports