From a92c204d1445b1704aecc3091eb7099696a41b32 Mon Sep 17 00:00:00 2001 From: tsamplesKR <93012035+tsamplesKR@users.noreply.github.com> Date: Thu, 28 Apr 2022 12:34:20 -0500 Subject: [PATCH] Update workflow to publish jar in qqq-maven --- .github/workflows/maven.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 3740f619..8c794698 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -27,12 +27,11 @@ jobs: - 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 }}" }]' + repositories: '[{ "id": "github-qqq-maven-registry", "url": "https://maven.pkg.github.com/Kingsrook/qqq-maven-registry", "snapshots": { "enabled": "true" }}]' + servers: '[{ "id": "github-qqq-maven-registry", "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 }} -