Skip to content

Commit

Permalink
Update nexus sync steps
Browse files Browse the repository at this point in the history
- Backport #1033
- Relates #1035
  • Loading branch information
jvalkeal committed Mar 21, 2024
1 parent 68af1fb commit 1e0cf80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
12 changes: 1 addition & 11 deletions .github/release-files-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@
{
"@build.name": "${buildname}",
"@build.number": "${buildnumber}",
"path": {"$match": "org*"}
},
{
"$or": [
{
"name": {"$match": "*.pom"}
},
{
"name": {"$match": "*.jar"}
}
]
"path": { "$match": "org/springframework/shell/spring-shell-*" }
}
]
}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/release-ga.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,8 @@ jobs:
jf rt download \
--spec .github/release-files-spec.json \
--spec-vars "buildname=$JFROG_CLI_BUILD_NAME;buildnumber=$JFROG_CLI_BUILD_NUMBER"
- 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 }}
Expand All @@ -178,6 +177,3 @@ jobs:
release: true
release-timeout: 5400
generate-checksums: true
pgp-sign: true
pgp-sign-passphrase: ${{ secrets.GPG_PASSPHRASE }}
pgp-sign-private-key: ${{ secrets.GPG_PRIVATE_KEY }}

0 comments on commit 1e0cf80

Please sign in to comment.