Skip to content

Commit bfec23d

Browse files
committed
Update Github Actions to more recent action versions
1 parent f393bed commit bfec23d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/jdk8-maven-test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,22 @@ jobs:
77
build:
88

99
runs-on: ubuntu-latest
10+
env:
11+
TZ: "Europe/London"
1012

1113
steps:
1214
- uses: actions/checkout@v2
1315
- name: Setup timezone
1416
uses: zcong1993/setup-timezone@f28e5fb1ca95077c81b67be53bcd1923de2175ed
1517
with:
1618
timezone: Europe/London
17-
- name: Set up JDK 1.8
18-
uses: actions/setup-java@v1
19+
- name: Set up JDK 8
20+
uses: actions/setup-java@v2
1921
with:
20-
java-version: 1.8
22+
java-version: 8
23+
distribution: zulu
2124
# Step that does that actual cache save and restore
22-
- uses: actions/cache@v1
25+
- uses: actions/cache@v4.2.2
2326
with:
2427
path: ~/.m2/repository
2528
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -29,4 +32,4 @@ jobs:
2932
run: mvn -T3 -B test --file pom.xml
3033
- name: Publish Test Report
3134
if: ${{ always() }}
32-
uses: scacap/action-surefire-report@v1
35+
uses: scacap/action-surefire-report@1a128e49c0585bc0b8e38e541ac3b6e35a5bc727

0 commit comments

Comments
 (0)