File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 3
3
build :
4
4
runs-on : ubuntu-latest
5
5
steps :
6
- - uses : actions/checkout@v2
6
+ - uses : actions/checkout@v4
7
7
with :
8
8
submodules : ' recursive'
9
9
- name : Set up JDK
10
- uses : actions/setup-java@v1
10
+ uses : actions/setup-java@v2
11
11
with :
12
+ distribution : ' zulu'
12
13
java-version : 8
13
14
- name : Cache Gradle packages
14
- uses : actions/cache@v2
15
+ uses : actions/cache@v3
15
16
with :
16
17
path : ~/.gradle/caches
17
18
key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
23
24
- name : Build deployment artifacts
24
25
run : ./gradlew deploy
25
26
- name : Upload jars as artifact
26
- uses : actions/upload-artifact@v2
27
+ uses : actions/upload-artifact@v3
27
28
with :
28
29
name : software-challenge-backend-${{ github.sha }}
29
30
path : |
34
35
runs-on : ubuntu-latest
35
36
if : startsWith(github.ref, 'refs/tags/')
36
37
steps :
37
- - uses : actions/download-artifact@v2
38
+ - uses : actions/download-artifact@v3
38
39
with :
39
40
name : software-challenge-backend-${{ github.sha }}
40
41
path : artifacts
43
44
with :
44
45
files : artifacts/*
45
46
env :
46
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments