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