Skip to content

Commit

Permalink
[#9] revert runner and update Java
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
ewilkins-csi committed Sep 19, 2024
1 parent ea39ad8 commit e995c82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e995c82

Please sign in to comment.