Skip to content

Commit 743c8f7

Browse files
committed
Add missing artifact properties for staging
This commit makes sure that docs artifacts have their attributes set for staging as well. Previously they were not and deployment of Javadoc did not occur. Closes gh-33207
1 parent 0376ebe commit 743c8f7

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Diff for: .github/workflows/release.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,19 @@ jobs:
2222
- name: Stage Release
2323
uses: spring-io/artifactory-deploy-action@26bbe925a75f4f863e1e529e85be2d0093cac116 # v0.0.1
2424
with:
25-
build-name: ${{ format('spring-framework-{0}', steps.build-and-publish.outputs.version)}}
26-
folder: 'deployment-repository'
25+
uri: 'https://repo.spring.io'
26+
username: ${{ secrets.ARTIFACTORY_USERNAME }}
2727
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
28+
build-name: ${{ format('spring-framework-{0}', steps.build-and-publish.outputs.version)}}
2829
repository: 'libs-staging-local'
30+
folder: 'deployment-repository'
2931
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}
3032
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}
31-
uri: 'https://repo.spring.io'
32-
username: ${{ secrets.ARTIFACTORY_USERNAME }}
33+
artifact-properties: |
34+
/**/framework-docs-*.zip::zip.name=spring-framework,zip.deployed=false
35+
/**/framework-docs-*-docs.zip::zip.type=docs
36+
/**/framework-docs-*-dist.zip::zip.type=dist
37+
/**/framework-docs-*-schema.zip::zip.type=schema
3338
outputs:
3439
version: ${{ steps.build-and-publish.outputs.version }}
3540
verify:

0 commit comments

Comments
 (0)