From 575fa253adff4ddb5012ce0bb22564e60665412a Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 27 Oct 2021 22:15:31 -0500 Subject: [PATCH] Switch from omaven-settings-action to maven-settings-xml-action --- .github/workflows/maven.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index ccfb2124..fece3be8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -24,15 +24,10 @@ jobs: java-version: '17' distribution: 'adopt' cache: maven - - name: maven-settings-action - uses: s4u/maven-settings-action@v2.4.1 + - name: maven-settings-xml-action + uses: whelk-io/maven-settings-xml-action@v20 with: - githubServer: false - servers: | - [{ - "id": "github", - "username": "${{ secrets.QQQ_MAVEN_REGISTRY_USERNAME }}", - "password": "${{ secrets.QQQ_MAVEN_REGISTRY_PASSWORD }}" - }] + 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 deploy --file pom.xml