diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml
index 1119507..b77c4c5 100644
--- a/.github/workflows/release-github.yml
+++ b/.github/workflows/release-github.yml
@@ -17,8 +17,8 @@ jobs:
java-version: '8'
- name: Publish to Github
run: |
+ mvn deploy -Pgithub "-Dgpr.repo=${{ vars.GHP_REPO }}"
./gradlew publish -i "-Pgpr.repo=${{ vars.GHP_REPO }}"
- mvn deploy -Pgithub "-DaltDeploymentRepository=releaseRepository::default::${{ vars.GHP_REPO }}"
shell: bash
env:
GHP_USERNAME: ${{ secrets.GHP_USERNAME }}
diff --git a/pom.xml b/pom.xml
index 41f6599..e7e42ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,6 +9,7 @@
8
UTF-8
2023-01-01T00:00:00Z
+ https://maven.pkg.github.com/rockcrafters/java-rockcraft-plugins
@@ -57,6 +58,16 @@
+
+ github
+
+
+ github
+ GitHub Packages
+ ${gpr.repo}
+
+
+
release