diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml
index f454399..74132b4 100644
--- a/.github/workflows/sonar.yaml
+++ b/.github/workflows/sonar.yaml
@@ -9,20 +9,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v4
with:
+ distribution: temurin
java-version: 11
- name: Cache SonarCloud packages
- uses: actions/cache@v1
+ uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
- uses: actions/cache@v1
+ uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
diff --git a/pom.xml b/pom.xml
index 1ad14e4..1fc8f8d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -311,7 +311,11 @@
true
ossrh
- https://s01.oss.sonatype.org/
+
+ https://ossrh-staging-api.central.sonatype.com/
true