Skip to content

Commit

Permalink
update GitHub actions to use temurin
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspersorensen committed Nov 14, 2024
1 parent 6fc1adf commit 5a3bb7c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

name: Java CI with Maven

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [push]

jobs:
build:
Expand All @@ -16,11 +12,11 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 5a3bb7c

Please sign in to comment.