Skip to content

Commit 6126e90

Browse files
committed
update GH action build
Signed-off-by: Lukas Jungmann <[email protected]> (cherry picked from commit c935ffc)
1 parent efc28c8 commit 6126e90

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2021, 2022 Contributors to the Eclipse Foundation
2+
# Copyright (c) 2021, 2024 Contributors to the Eclipse Foundation
33
#
44
# This program and the accompanying materials are made available under the
55
# terms of the Eclipse Public License v. 2.0 which is available at
@@ -29,21 +29,16 @@ jobs:
2929

3030
strategy:
3131
matrix:
32-
java_version: [ 11, 17-ea ]
32+
java_version: [ 17, 21 ]
3333

3434
steps:
3535
- name: Checkout for build
36-
uses: actions/checkout@v2.3.4
36+
uses: actions/checkout@v4
3737
- name: Set up JDK
38-
uses: actions/setup-java@v2
38+
uses: actions/setup-java@v4
3939
with:
4040
distribution: 'zulu'
4141
java-version: ${{ matrix.java_version }}
42-
- name: Cache Maven repository
43-
uses: actions/cache@v2
44-
with:
45-
path: ~/.m2
46-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
47-
restore-keys: ${{ runner.os }}-m2
42+
cache: 'maven'
4843
- name: Verify
4944
run: cd api && mvn -B -V -U -C -Poss-release clean verify org.glassfish.copyright:glassfish-copyright-maven-plugin:check -Dgpg.skip=true -Dcopyright.ignoreyear=true

.github/workflows/web.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2022 Contributors to the Eclipse Foundation
2+
# Copyright (c) 2022, 2024 Contributors to the Eclipse Foundation
33
#
44
# This program and the accompanying materials are made available under the
55
# terms of the Eclipse Public License v. 2.0 which is available at
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444
- name: Add static content
4545
run: |
4646
export VERSION=`curl https://repo1.maven.org/maven2/jakarta/activation/jakarta.activation-api/maven-metadata.xml | tac | grep -o -m 1 "<version>[[:digit:]]\.[[:digit:]]\.[[:digit:]]</version" | cut -f 2 -d ">" | cut -f 1 -d "<"`
@@ -50,7 +50,7 @@ jobs:
5050
unzip -q -d ./www/api jakarta.activation-api-javadoc.zip -x "META-INF/*"
5151
cp -Rfv CONTRIBUTING.md doc/spec/* ./www/
5252
- name: Setup Pages
53-
uses: actions/configure-pages@v2
53+
uses: actions/configure-pages@v3
5454
- name: Build with Jekyll
5555
uses: actions/jekyll-build-pages@v1
5656
with:
@@ -69,4 +69,4 @@ jobs:
6969
steps:
7070
- name: Deploy to GitHub Pages
7171
id: deployment
72-
uses: actions/deploy-pages@v1
72+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)