Update GH workflows to the latest versions

This commit is contained in:
abilan
2023-07-18 15:37:41 -04:00
parent 39304e399a
commit 79139915e8
3 changed files with 6 additions and 7 deletions

View File

@@ -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 }}

View File

@@ -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 }}

View File

@@ -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 }}