Skip to content

Commit f16a3ef

Browse files
committed
chore(ci): update github action versions
1 parent fd894e5 commit f16a3ef

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/gradle.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ jobs:
33
build:
44
runs-on: ubuntu-latest
55
steps:
6-
- uses: actions/checkout@v2
6+
- uses: actions/checkout@v4
77
with:
88
submodules: 'recursive'
99
- name: Set up JDK
10-
uses: actions/setup-java@v1
10+
uses: actions/setup-java@v2
1111
with:
12+
distribution: 'zulu'
1213
java-version: 8
1314
- name: Cache Gradle packages
14-
uses: actions/cache@v2
15+
uses: actions/cache@v3
1516
with:
1617
path: ~/.gradle/caches
1718
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
@@ -23,7 +24,7 @@ jobs:
2324
- name: Build deployment artifacts
2425
run: ./gradlew deploy
2526
- name: Upload jars as artifact
26-
uses: actions/upload-artifact@v2
27+
uses: actions/upload-artifact@v3
2728
with:
2829
name: software-challenge-backend-${{ github.sha }}
2930
path: |
@@ -34,7 +35,7 @@ jobs:
3435
runs-on: ubuntu-latest
3536
if: startsWith(github.ref, 'refs/tags/')
3637
steps:
37-
- uses: actions/download-artifact@v2
38+
- uses: actions/download-artifact@v3
3839
with:
3940
name: software-challenge-backend-${{ github.sha }}
4041
path: artifacts
@@ -43,4 +44,4 @@ jobs:
4344
with:
4445
files: artifacts/*
4546
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)