From 1b7b280846c97ea5edc17c2d807d5c45b7f434be Mon Sep 17 00:00:00 2001 From: "Wilkins, Emily (Counterpointe Solutions)" <80470879+ewilkins-csi@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:03:19 -0500 Subject: [PATCH] [#9] revert runner and update Java Primarily this is to fix the build action never being picked up for execution. But I also noticed that we were installing Java 11 during the build and release actions, though 601cc17 just bumped the required Java version to 17. --- .github/workflows/build.yaml | 6 +++--- .github/workflows/release.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1c36af3..f2fdf3a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,13 +13,13 @@ on: branches: [ "dev" ] jobs: build: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' + java-version: '17' distribution: 'temurin' cache: maven - name: Build aissemble-parent diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7fd9516..d10ae50 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,10 +23,10 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' + java-version: '17' distribution: 'temurin' cache: maven server-id: 'ossrh'