diff --git a/.github/workflows/central-sync-close.yml b/.github/workflows/central-sync-close.yml index a877231e09..bb694ef880 100644 --- a/.github/workflows/central-sync-close.yml +++ b/.github/workflows/central-sync-close.yml @@ -13,7 +13,7 @@ jobs: steps: # Request close promotion repo - - uses: jvalkeal/nexus-sync@v0 + - uses: jvalkeal/nexus-sync@v0.0.2 with: url: ${{ secrets.OSSRH_URL }} username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }} diff --git a/.github/workflows/central-sync-create.yml b/.github/workflows/central-sync-create.yml index 12e74a9b54..ecd4017b81 100644 --- a/.github/workflows/central-sync-create.yml +++ b/.github/workflows/central-sync-create.yml @@ -16,12 +16,10 @@ jobs: steps: # to get spec file in .github - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # Setup jfrog cli - - uses: jfrog/setup-jfrog-cli@v1 - with: - version: 1.46.4 + - uses: jfrog/setup-jfrog-cli@v3 env: JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }} @@ -39,7 +37,7 @@ 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: jvalkeal/nexus-sync@v0.0.2 id: nexus with: url: ${{ secrets.OSSRH_URL }} @@ -50,6 +48,7 @@ jobs: upload: true generate-checksums: true pgp-sign: true + nexus-timeout: 600 pgp-sign-passphrase: ${{ secrets.GPG_PASSPHRASE }} pgp-sign-private-key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/.github/workflows/central-sync-release.yml b/.github/workflows/central-sync-release.yml index 18960cdcdb..4d4d27d0d1 100644 --- a/.github/workflows/central-sync-release.yml +++ b/.github/workflows/central-sync-release.yml @@ -13,7 +13,7 @@ jobs: steps: # Request release promotion repo - - uses: jvalkeal/nexus-sync@v0 + - uses: jvalkeal/nexus-sync@v0.0.2 with: url: ${{ secrets.OSSRH_URL }} username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}