Skip to content

Commit d114044

Browse files
committed
Update nexus sync steps
- Relates #1033
1 parent 1fae47c commit d114044

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
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/central-sync-close.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ jobs:
1313
steps:
1414

1515
# Request release promotion repo
16-
- uses: jvalkeal/nexus-sync@v0
16+
- uses: spring-io/nexus-sync-action@main
1717
with:
18-
url: ${{ secrets.OSSRH_URL }}
1918
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
2019
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
2120
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}

.github/workflows/central-sync-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414

1515
# Request release promotion repo
16-
- uses: jvalkeal/nexus-sync@main
16+
- uses: spring-io/nexus-sync-action@main
1717
with:
1818
url: ${{ secrets.OSSRH_URL }}
1919
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}

.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)