Skip to content

Commit ffd543b

Browse files
committed
Continue with GHA updates
1 parent cb5904b commit ffd543b

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

.github/workflows/pr-builder.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: Set up JDK 8
18-
uses: actions/setup-java@v2
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-java@v4
1918
with:
19+
distribution: 'temurin' # See 'Supported distributions' for available options
2020
java-version: '8'
21-
distribution: 'adopt'
21+
cache: 'maven'
2222
- name: Build with Maven
2323
run: mvn --batch-mode --update-snapshots verify

.github/workflows/upload-release.yaml

+5-14
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: Set up Apache Maven Central
18-
uses: actions/setup-java@v2
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-java@v4
1918
with:
20-
java-version: 8
21-
distribution: 'adopt'
22-
23-
- name: Cache Maven packages
24-
uses: actions/cache@v2
25-
with:
26-
path: ~/.m2
27-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28-
restore-keys: ${{ runner.os }}-m2
29-
19+
distribution: 'temurin' # See 'Supported distributions' for available options
20+
java-version: '8'
21+
cache: 'maven'
3022
- name: Maven build
3123
run: mvn --batch-mode clean install
32-
3324
- name: Upload binaries to release
3425
uses: svenstaro/upload-release-action@483c1e56f95e88835747b1c7c60581215016cbf2
3526
with:

0 commit comments

Comments
 (0)