Skip to content

Commit 1e0cf80

Browse files
committed
Update nexus sync steps
- Backport #1033 - Relates #1035
1 parent 68af1fb commit 1e0cf80

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.github/release-files-spec.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,7 @@
77
{
88
"@build.name": "${buildname}",
99
"@build.number": "${buildnumber}",
10-
"path": {"$match": "org*"}
11-
},
12-
{
13-
"$or": [
14-
{
15-
"name": {"$match": "*.pom"}
16-
},
17-
{
18-
"name": {"$match": "*.jar"}
19-
}
20-
]
10+
"path": { "$match": "org/springframework/shell/spring-shell-*" }
2111
}
2212
]
2313
}

.github/workflows/release-ga.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,8 @@ jobs:
165165
jf rt download \
166166
--spec .github/release-files-spec.json \
167167
--spec-vars "buildname=$JFROG_CLI_BUILD_NAME;buildnumber=$JFROG_CLI_BUILD_NUMBER"
168-
- uses: jvalkeal/nexus-sync@v0
168+
- uses: spring-io/nexus-sync-action@main
169169
with:
170-
url: ${{ secrets.OSSRH_URL }}
171170
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
172171
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
173172
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
@@ -178,6 +177,3 @@ jobs:
178177
release: true
179178
release-timeout: 5400
180179
generate-checksums: true
181-
pgp-sign: true
182-
pgp-sign-passphrase: ${{ secrets.GPG_PASSPHRASE }}
183-
pgp-sign-private-key: ${{ secrets.GPG_PRIVATE_KEY }}

0 commit comments

Comments
 (0)