diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0787c2a..aa320d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: fetch-depth: 0 - name: Set up JDK 17 - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 + uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: java-version: 17 distribution: 'temurin' diff --git a/.github/workflows/pass-complete-release.yml b/.github/workflows/pass-complete-release.yml index 7136078..6610c61 100644 --- a/.github/workflows/pass-complete-release.yml +++ b/.github/workflows/pass-complete-release.yml @@ -25,16 +25,18 @@ jobs: fetch-depth: 0 - name: Setup Java & Maven - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 + uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: java-version: 17 distribution: 'temurin' cache: 'maven' server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-username-env-var: MAVEN_USERNAME + server-password-env-var: MAVEN_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + gpg-passphrase-env-var: MAVEN_GPG_PASSPHRASE + mvn-server-repository-origins: | + central:https://central.sonatype.com - name: Get the artifact from the main POM working-directory: main diff --git a/.github/workflows/pass-java-release.yml b/.github/workflows/pass-java-release.yml index 8181bc6..ab6da7b 100644 --- a/.github/workflows/pass-java-release.yml +++ b/.github/workflows/pass-java-release.yml @@ -28,16 +28,18 @@ jobs: path: main - name: Setup Java & Maven - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 + uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: java-version: 17 distribution: 'temurin' cache: 'maven' server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-username-env-var: MAVEN_USERNAME + server-password-env-var: MAVEN_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + gpg-passphrase-env-var: MAVEN_GPG_PASSPHRASE + mvn-server-repository-origins: | + central:https://central.sonatype.com - name: Get the artifact from the main POM working-directory: main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 460c61e..a8112a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,16 +53,18 @@ jobs: uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - name: Setup Java & Maven - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 + uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: java-version: 17 distribution: 'temurin' cache: 'maven' server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-username-env-var: MAVEN_USERNAME + server-password-env-var: MAVEN_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + gpg-passphrase-env-var: MAVEN_GPG_PASSPHRASE + mvn-server-repository-origins: | + central:https://central.sonatype.com - name: Config git user run: | diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 19d85bb..0034f11 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -25,16 +25,18 @@ jobs: fetch-depth: 0 - name: Setup Java & Maven - uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0 + uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: java-version: 17 distribution: 'temurin' cache: 'maven' server-id: central - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD + server-username-env-var: MAVEN_USERNAME + server-password-env-var: MAVEN_PASSWORD gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }} - gpg-passphrase: MAVEN_GPG_PASSPHRASE + gpg-passphrase-env-var: MAVEN_GPG_PASSPHRASE + mvn-server-repository-origins: | + central:https://central.sonatype.com - name: Get project version from POM id: project_version