File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,18 +13,21 @@ jobs:
1313 steps :
1414 - name : Create mongo Docker container
1515 id : build_mongo_docker
16- uses : DigiPie/mongo-action@v1 .0.1
16+ uses : DigiPie/mongo-action@v2 .0.1
1717 with :
1818 image_version : latest
1919 port : 27017
20- - uses : actions/checkout@v2
21- - name : Set up JDK 16
22- uses : actions/setup-java@v2
20+ - uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+ ref : Development
24+ - name : Set up JDK 21
25+ uses : actions/setup-java@v4
2326 with :
2427 distribution : ' adopt'
25- java-version : ' 16 '
28+ java-version : ' 21 '
2629 - name : Cache Maven repository
27- uses : actions/cache@v2
30+ uses : actions/cache@v4
2831 with :
2932 path : .m2/repository # maven repository files are stored here
3033 key : ${{ runner.OS }}-maven-${{ hashFiles('pom.xml') }}
Original file line number Diff line number Diff line change @@ -12,22 +12,22 @@ jobs:
1212 steps :
1313 - name : Create mongo Docker container
1414 id : build_mongo_docker
15- uses : DigiPie/mongo-action@v1 .0.1
15+ uses : DigiPie/mongo-action@v2 .0.1
1616 with :
1717 image_version : latest
1818 port : 27017
19- - uses : actions/checkout@v2
19+ - uses : actions/checkout@v4
2020 with :
2121 fetch-depth : 0
2222 ref : main
2323
24- - name : Set up JDK 16
25- uses : actions/setup-java@v2
24+ - name : Set up JDK 21
25+ uses : actions/setup-java@v4
2626 with :
2727 distribution : ' adopt'
28- java-version : ' 16 '
28+ java-version : ' 21 '
2929 - name : Cache Maven repository
30- uses : actions/cache@v2
30+ uses : actions/cache@v4
3131 with :
3232 path : .m2/repository # maven repository files are stored here
3333 key : ${{ runner.OS }}-maven-${{ hashFiles('pom.xml') }}
3838 git merge origin/Development
3939 - name : Build
4040 run : mvn -B package --file pom.xml
41- - uses : actions/upload-artifact@v2
41+ - uses : actions/upload-artifact@v4
4242 # Test run screenshots only on failure
4343 if : success()
4444 with :
You can’t perform that action at this time.
0 commit comments