Skip to content

Commit

Permalink
minor changes 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ypriverol committed Oct 6, 2023
1 parent 31b92ad commit 6664667
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ on:

jobs:
build:

runs-on: ubuntu-latest

runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '8', '11', '17' ]
name: Java ${{ matrix.Java }} sample
steps:
- uses: actions/checkout@v3
- name: Set up JDK 18
uses: actions/setup-java@v3
with:
java-version: '18'
distribution: 'temurin'
cache: 'maven'
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: '<distribution>'
java-version: ${{ matrix.java }}

- name: Test with Maven
run: mvn test --file pom.xml
- name: Test with Maven
run: mvn test --file pom.xml

- 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 6664667

Please sign in to comment.