Try alternative maven settings action

This commit is contained in:
Darin Kelkhoff
2021-10-27 22:00:09 -05:00
parent 8c058e0677
commit 7b625fdf78

View File

@ -24,11 +24,15 @@ jobs:
java-version: '17' java-version: '17'
distribution: 'adopt' distribution: 'adopt'
cache: maven cache: maven
- name: maven-settings-xml-action - name: maven-settings-action
uses: whelk-io/maven-settings-xml-action@v20 uses: s4u/maven-settings-action@v2.4.1
with: with:
repositories: '[{ "id": "github", "url": "https://maven.pkg.github.com/Kingsrook/qqq-maven-registry", "snapshots": { "enabled": "true" }}]' servers: |
servers: '[{ "id": "github", "username": "${{ secrets.QQQ_MAVEN_REGISTRY_USERNAME }}", "password": "${{ secrets.QQQ_MAVEN_REGISTRY_PASSWORD }}" }]' [{
"id": "github",
"username": "${{ secrets.QQQ_MAVEN_REGISTRY_USERNAME }}",
"password": "${{ secrets.QQQ_MAVEN_REGISTRY_PASSWORD }}"
}]
- name: Cat settings.xml - name: Cat settings.xml
run: cat /home/runner/.m2/settings.xml run: cat /home/runner/.m2/settings.xml
- name: Build with Maven - name: Build with Maven