File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 name : Build
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
9+ - uses : actions/checkout@v4
1010 with :
1111 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
1212 - name : Set up JDK 11
13- uses : actions/setup-java@v1
13+ uses : actions/setup-java@v4
1414 with :
15+ distribution : temurin
1516 java-version : 11
1617 - name : Cache SonarCloud packages
17- uses : actions/cache@v1
18+ uses : actions/cache@v4
1819 with :
1920 path : ~/.sonar/cache
2021 key : ${{ runner.os }}-sonar
2122 restore-keys : ${{ runner.os }}-sonar
2223 - name : Cache Gradle packages
23- uses : actions/cache@v1
24+ uses : actions/cache@v4
2425 with :
2526 path : ~/.gradle/caches
2627 key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
@@ -31,11 +32,11 @@ jobs:
3132 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3233 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
3334 run : ./gradlew build sonarqube --info
34- - uses : actions/upload-artifact@v2
35+ - uses : actions/upload-artifact@v4
3536 with :
3637 path : build/libs/*.jar
3738
38- - uses : docker/login-action@v1
39+ - uses : docker/login-action@v3
3940 with :
4041 registry : ghcr.io/raeperd
4142 username : ${{ github.actor }}
You can’t perform that action at this time.
0 commit comments