From 8abee0e4aa7a251f99d2411ae7c865654f2cf4c3 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sat, 20 Mar 2021 09:20:19 +0000 Subject: [PATCH] Switch to old sonatype infra --- .github/workflows/central-sync-close.yml | 5 ++--- .github/workflows/central-sync-create.yml | 5 ++--- .github/workflows/central-sync-release.yml | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/central-sync-close.yml b/.github/workflows/central-sync-close.yml index 6ef93fa8..ed1848c3 100644 --- a/.github/workflows/central-sync-close.yml +++ b/.github/workflows/central-sync-close.yml @@ -15,9 +15,8 @@ jobs: # Request close promotion repo - uses: jvalkeal/nexus-sync@main with: - url: ${{ secrets.OSSRH_URL }} - username: ${{ secrets.OSSRH_USERNAME }} - password: ${{ secrets.OSSRH_PASSWORD }} + username: ${{ secrets.OSSRH_TOKEN_USERNAME }} + password: ${{ secrets.OSSRH_TOKEN_PASSWORD }} staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }} staging-repo-id: ${{ github.event.inputs.stagedRepositoryId }} close: true diff --git a/.github/workflows/central-sync-create.yml b/.github/workflows/central-sync-create.yml index 32040b42..e87f8e64 100644 --- a/.github/workflows/central-sync-create.yml +++ b/.github/workflows/central-sync-create.yml @@ -42,9 +42,8 @@ jobs: - uses: jvalkeal/nexus-sync@main id: nexus with: - url: ${{ secrets.OSSRH_URL }} - username: ${{ secrets.OSSRH_USERNAME }} - password: ${{ secrets.OSSRH_PASSWORD }} + username: ${{ secrets.OSSRH_TOKEN_USERNAME }} + password: ${{ secrets.OSSRH_TOKEN_PASSWORD }} staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }} create: true upload: true diff --git a/.github/workflows/central-sync-release.yml b/.github/workflows/central-sync-release.yml index 59adac0c..037db845 100644 --- a/.github/workflows/central-sync-release.yml +++ b/.github/workflows/central-sync-release.yml @@ -15,9 +15,8 @@ jobs: # Request release promotion repo - uses: jvalkeal/nexus-sync@main with: - url: ${{ secrets.OSSRH_URL }} - username: ${{ secrets.OSSRH_USERNAME }} - password: ${{ secrets.OSSRH_PASSWORD }} + username: ${{ secrets.OSSRH_TOKEN_USERNAME }} + password: ${{ secrets.OSSRH_TOKEN_PASSWORD }} staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }} staging-repo-id: ${{ github.event.inputs.stagedRepositoryId }} release: true