diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yaml
similarity index 60%
rename from .github/workflows/maven-release.yml
rename to .github/workflows/maven-release.yaml
index d3a7afc..5ed95fc 100644
--- a/.github/workflows/maven-release.yml
+++ b/.github/workflows/maven-release.yaml
@@ -3,6 +3,14 @@ name: Maven Release
on:
workflow_dispatch:
inputs:
+ server-id:
+ description: 'Distribution server-id'
+ type: choice
+ required: false
+ default: central
+ options:
+ - central
+ - github
dry-run:
description: 'Dry-run without commits or deploys'
type: boolean
@@ -11,10 +19,11 @@ on:
jobs:
invoke-release:
- uses: emergentdotorg/github-actions/.github/workflows/reusable-maven-release.yml@main
+ uses: emergentdotorg/github-actions/.github/workflows/maven-release.yaml@v1
secrets: inherit
with:
java-version: '8'
+ server-id: ${{ inputs.server-id }}
dry-run: ${{ inputs.dry-run }}
process-results:
diff --git a/.github/workflows/maven-tests.yml b/.github/workflows/maven-verify.yaml
similarity index 68%
rename from .github/workflows/maven-tests.yml
rename to .github/workflows/maven-verify.yaml
index b4c2611..65f0b5c 100644
--- a/.github/workflows/maven-tests.yml
+++ b/.github/workflows/maven-verify.yaml
@@ -1,4 +1,4 @@
-name: Maven Tests
+name: Maven Verify
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -12,7 +12,7 @@ on:
jobs:
build:
- uses: emergentdotorg/github-actions/.github/workflows/reusable-maven-tests.yml@main
+ uses: emergentdotorg/github-actions/.github/workflows/maven-verify.yaml@v1
secrets: inherit
with:
java-version: '8'
diff --git a/pom.xml b/pom.xml
index 71e1240..97188ef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,6 +48,7 @@
UTF-8
UTF-8
3.3.0
+ 0.6.0
3.1.0
3.7.1
3.4.0
@@ -219,15 +220,36 @@
maven-shade-plugin
${version.maven-shade-plugin}
+
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${version.central-publishing-maven-plugin}
+
+
+ central-dist
+
+
+ !altDeploymentRepository
+
+
+
+
+
+ org.sonatype.central
+ central-publishing-maven-plugin
+ true
+
+
+
+
emergent-release
- central
${maven.compiler.target}
3.6.3
posix
@@ -334,15 +356,6 @@
emergent-release
-
- org.sonatype.central
- central-publishing-maven-plugin
- 0.6.0
- true
-
- ${distMgmtReleasesId}
-
-