Skip to content

Commit

Permalink
Updated pipeline to print java version before testing
Browse files Browse the repository at this point in the history
  • Loading branch information
aaberg committed Mar 12, 2024
1 parent 735f3a1 commit 28a5694
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Print java version
run: java -version
- name: Build and test with Maven java 21
run: mvn -B package --file pom.xml
- name: Set up JDK 17 for testing
Expand All @@ -39,6 +41,8 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Print java version
run: java -version
- name: Test with Maven java 17
run: mvn test
- name: Setup JDK 11 for testing
Expand All @@ -47,6 +51,8 @@ jobs:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Print java version
run: java -version
- name: Test with Maven java 11
run: mvn test

Expand Down

0 comments on commit 28a5694

Please sign in to comment.