Skip to content

Commit be34ac4

Browse files
committed
Lift deprecated CI actions
Signed-off-by: Björn Svensson <[email protected]>
1 parent bb078aa commit be34ac4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ jobs:
77
runs-on: ubuntu-20.04
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- name: Set up JDK 1.8
12-
uses: actions/setup-java@v1
12+
uses: actions/setup-java@v4
1313
with:
1414
java-version: 8
15-
- uses: actions/cache@v1
15+
distribution: temurin
16+
- uses: actions/cache@v4
1617
with:
1718
path: ~/.m2
1819
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -23,12 +24,12 @@ jobs:
2324
otp-version: '23'
2425
- name: erl
2526
run: erl -version
26-
- uses: actions/setup-ruby@v1
27+
- uses: ruby/setup-ruby@v1
2728
with:
2829
ruby-version: '2.7'
2930
- name: Build with Maven
30-
run: PATH=$PATH:/home/runner/.gem/ruby/2.7/bin xvfb-run ./mvnw -B -U clean verify -P help
31-
- uses: actions/upload-artifact@v2
31+
run: xvfb-run ./mvnw -B -U clean verify -P help
32+
- uses: actions/upload-artifact@v4
3233
with:
3334
name: P2 site
3435
path: releng/org.erlide.site/target/repository

0 commit comments

Comments
 (0)