Skip to content

Commit

Permalink
Use Java 21 in CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
santiagolizardo committed Dec 19, 2024
1 parent 0c5f4a8 commit 115e31b
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,25 @@ name: Java CI with Maven

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

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "adopt"
cache: maven

- name: Install gettext
run: sudo apt-get install -y gettext
- name: Install gettext
run: sudo apt-get install -y gettext

- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 115e31b

Please sign in to comment.