Skip to content

Commit 9854498

Browse files
committed
Update the Github build action for example code
1 parent 6e7ac7b commit 9854498

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/maven.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919

20-
- name: Set up JDK 17
21-
uses: actions/setup-java@v2
20+
- name: Set up JDK 21
21+
uses: actions/setup-java@v3
2222
with:
2323
distribution: 'temurin'
24-
java-version: '17'
24+
java-version: '21'
2525
cache: 'maven'
2626
- name: Set up Maven
2727
uses: stCarolas/[email protected]
2828
with:
29-
maven-version: 3.9.2
29+
maven-version: '3.9.7'
3030
- name: Build with Maven
3131
run: mvn clean verify -ntp
3232
- uses: "marvinpinto/action-automatic-releases@latest"
@@ -38,4 +38,4 @@ jobs:
3838
files: |
3939
*.zip
4040
com.vogella.tasks.product/target/products/com.vogella.tasks-*.x86_64.zip
41-
41+

0 commit comments

Comments
 (0)