Update nexus sync steps
This commit is contained in:
3
.github/workflows/central-sync-close.yml
vendored
3
.github/workflows/central-sync-close.yml
vendored
@@ -13,9 +13,8 @@ jobs:
|
||||
steps:
|
||||
|
||||
# Request close promotion repo
|
||||
- uses: jvalkeal/nexus-sync@v0
|
||||
- uses: spring-io/nexus-sync-action@main
|
||||
with:
|
||||
url: ${{ secrets.OSSRH_URL }}
|
||||
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
|
||||
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
|
||||
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
|
||||
|
||||
6
.github/workflows/central-sync-create.yml
vendored
6
.github/workflows/central-sync-create.yml
vendored
@@ -39,19 +39,15 @@ jobs:
|
||||
--spec-vars "buildname=$JFROG_CLI_BUILD_NAME;buildnumber=$JFROG_CLI_BUILD_NUMBER"
|
||||
|
||||
# Create checksums, signatures and create staging repo on central and upload
|
||||
- uses: jvalkeal/nexus-sync@v0
|
||||
- uses: spring-io/nexus-sync-action@main
|
||||
id: nexus
|
||||
with:
|
||||
url: ${{ secrets.OSSRH_URL }}
|
||||
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
|
||||
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
|
||||
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
|
||||
create: true
|
||||
upload: true
|
||||
generate-checksums: true
|
||||
pgp-sign: true
|
||||
pgp-sign-passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||
pgp-sign-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
|
||||
# Print staging repo id
|
||||
- name: Print Staging Repo Id
|
||||
|
||||
3
.github/workflows/central-sync-release.yml
vendored
3
.github/workflows/central-sync-release.yml
vendored
@@ -13,9 +13,8 @@ jobs:
|
||||
steps:
|
||||
|
||||
# Request release promotion repo
|
||||
- uses: jvalkeal/nexus-sync@v0
|
||||
- uses: spring-io/nexus-sync-action@main
|
||||
with:
|
||||
url: ${{ secrets.OSSRH_URL }}
|
||||
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
|
||||
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
|
||||
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
|
||||
|
||||
6
.github/workflows/release-ga.yml
vendored
6
.github/workflows/release-ga.yml
vendored
@@ -198,9 +198,8 @@ jobs:
|
||||
--spec .github/release-files-spec.json \
|
||||
--spec-vars "buildname=$JFROG_CLI_BUILD_NAME;buildnumber=$JFROG_CLI_BUILD_NUMBER"
|
||||
# last step, sync to central.
|
||||
- uses: jvalkeal/nexus-sync@v0
|
||||
- uses: spring-io/nexus-sync-action@main
|
||||
with:
|
||||
url: ${{ secrets.OSSRH_URL }}
|
||||
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
|
||||
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
|
||||
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
|
||||
@@ -209,6 +208,3 @@ jobs:
|
||||
close: true
|
||||
release: true
|
||||
generate-checksums: true
|
||||
pgp-sign: true
|
||||
pgp-sign-passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||
pgp-sign-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user