mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 02:49:06 +00:00
gradle, clean, maven publication, same version for build/sign
This commit is contained in:
parent
6cfeabefc2
commit
defeb87909
5
.github/workflows/ci-gradle.yml
vendored
5
.github/workflows/ci-gradle.yml
vendored
@ -101,7 +101,9 @@ jobs:
|
||||
|
||||
- name: Create artifacts
|
||||
if: matrix.release_from_this_build
|
||||
run: gradle -q build -x test
|
||||
env:
|
||||
POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }}
|
||||
run: gradle -q clean build generateMetadataFileForMavenPublication generatePomFileForMavenPublication -Pversion=${POM_VERSION} -x test
|
||||
|
||||
- name: Setup gpg
|
||||
if: matrix.release_from_this_build && env.ARTIFACT_SIGNING_KEY
|
||||
@ -121,6 +123,7 @@ jobs:
|
||||
env:
|
||||
GPG_KEYNAME: ${{ steps.gpg.outputs.key_id }}
|
||||
GPG_PASSPHRASE: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
|
||||
POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }}
|
||||
run: |
|
||||
gradle sign "-Pversion=${POM_VERSION}"\
|
||||
"-Psigning.gnupg.keyName=${GPG_KEYNAME}" \
|
||||
|
Loading…
Reference in New Issue
Block a user