From e995c820afca7f2f934ca4cfa7502b48818c0375 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. Also adds manual execution via `workflow_dispatch`. --- .github/workflows/build.yaml | 7 ++++--- .github/workflows/release.yaml | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1c36af3..8b799b8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,17 +9,18 @@ name: Build aiSSEMBLE Parent on: + workflow_dispatch: push: 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'