GH-476: Assemble Zip for Javadocs
Fixes: https://github.com/spring-projects/spring-retry/issues/476 * Add `maven-assembly-plugin` to Zip Javadocs from the `apidocs` dir into a `*-docs.zip` artifact * Modify `build-and-deploy-snapshot.yml` and `release.yml` to assign `zip.deployed=false` attribute to Zip artifacts * Also mark `docs.zip` files as `zip.type=docs`
This commit is contained in:
@@ -35,6 +35,9 @@ jobs:
|
||||
folder: 'deployment-repository'
|
||||
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||
artifact-properties: |
|
||||
/**/*.zip::zip.name=${{ github.event.repository.name }},zip.deployed=false
|
||||
/**/*docs.zip::zip.type=docs
|
||||
- name: Send Notification
|
||||
uses: ./.github/actions/send-notification
|
||||
if: always()
|
||||
|
||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -33,6 +33,9 @@ jobs:
|
||||
folder: 'deployment-repository'
|
||||
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||
artifact-properties: |
|
||||
/**/*.zip::zip.name=${{ github.event.repository.name }},zip.deployed=false
|
||||
/**/*docs.zip::zip.type=docs
|
||||
outputs:
|
||||
version: ${{ steps.build-and-publish.outputs.version }}
|
||||
sync-to-maven-central:
|
||||
|
||||
Reference in New Issue
Block a user