Skip to content

Commit

Permalink
Update GH workflows to the latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Jul 18, 2023
1 parent 39304e3 commit 7913991
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/central-sync-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/central-sync-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/central-sync-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 7913991

Please sign in to comment.