diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 9c853a8f..a6cb9229 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -22,5 +22,14 @@ jobs:
java-version: '17'
distribution: 'adopt'
cache: maven
+ - name: maven-settings-xml-action
+ uses: whelk-io/maven-settings-xml-action@v20
+ with:
+ repositories: '[{ "id": "github", "url": "https://maven.pkg.github.com/Kingsrook/qqq-maven-registry", "snapshots": { "enabled": "true" }}]'
+ servers: '[{ "id": "github", "username": "${{ secrets.QQQ_MAVEN_REGISTRY_USERNAME }}", "password": "${{ secrets.QQQ_MAVEN_REGISTRY_PASSWORD }}" }]'
- name: Build with Maven
run: mvn -B package --file pom.xml
+ - name: Publish to GitHub Packages Apache Maven
+ run: mvn deploy
+ env:
+ GITHUB_TOKEN: ${{ github.token }}
diff --git a/pom.xml b/pom.xml
index e1ef7021..75d75e06 100644
--- a/pom.xml
+++ b/pom.xml
@@ -130,20 +130,19 @@
-
+
+
+ github
+ GitHub QQQ Maven Registry
+ https://maven.pkg.github.com/Kingsrook/qqq-maven-registry
+
+
- github
- GitHub kingsrook Maven Packages
- https://maven.pkg.github.com/Kingsrook/qqq-maven-registry
+ github-qqq-maven-registry
+ GitHub QQQ Maven Registry
+ https://maven.pkg.github.com/Kingsrook/qqq-maven-registry