1
1
name : Sync to Maven Central
2
2
description : ' Syncs a release to Maven Central and waits for it to be available for use'
3
3
inputs :
4
- jfrog-cli-config-token :
5
- description : ' Config token for the JFrog CLI'
6
- required : true
7
- ossrh-s01-staging-profile :
8
- description : ' Staging profile to use when syncing to Central'
4
+ central-token-password :
5
+ description : ' Password for authentication with central.sonatype.com'
9
6
required : true
10
- ossrh-s01- token-password :
11
- description : ' Password for authentication with s01.oss. sonatype.org '
7
+ central- token-username :
8
+ description : ' Username for authentication with central. sonatype.com '
12
9
required : true
13
- ossrh-s01-token-username :
14
- description : ' Username for authentication with s01.oss.sonatype.org '
10
+ jfrog-cli-config-token :
11
+ description : ' Config token for the JFrog CLI '
15
12
required : true
16
13
spring-ws-version :
17
14
description : ' Version of Spring Web Services that is being synced to Central'
@@ -27,16 +24,10 @@ runs:
27
24
shell : bash
28
25
run : jf rt download --spec ${{ format('{0}/artifacts.spec', github.action_path) }} --spec-vars 'buildName=${{ format('spring-ws-{0}', inputs.spring-ws-version) }};buildNumber=${{ github.run_number }}'
29
26
- name : Sync
30
- uses : spring-io/nexus-sync-action@42477a2230a2f694f9eaa4643fa9e76b99b7ab84 # v0.0.1
27
+ uses : spring-io/nexus-sync-action@06c0064cac7caf1fed48ab8a27fbb70f2ca38f0c # v0.1.0
31
28
with :
32
- close : true
33
- create : true
34
- generate-checksums : true
35
- password : ${{ inputs.ossrh-s01-token-password }}
36
- release : true
37
- staging-profile-name : ${{ inputs.ossrh-s01-staging-profile }}
38
- upload : true
39
- username : ${{ inputs.ossrh-s01-token-username }}
29
+ token : ${{ inputs.central-token-password }}
30
+ token-name : ${{ inputs.central-token-username }}
40
31
- name : Await
41
32
uses : ./.github/actions/await-http-resource
42
33
with :
0 commit comments