Add snapshots.enabled to repository and cat settings.xml

This commit is contained in:
Darin Kelkhoff
2021-10-27 21:25:00 -05:00
parent 5c4ee8e8b4
commit f7d52f66ff

View File

@ -19,8 +19,10 @@ jobs:
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v20
with:
repositories: '[{ "id": "github-qqq-maven-registry", "url": "https://maven.pkg.github.com/Kingsrook/qqq-maven-registry" }]'
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": "${env.QQQ_MAVEN_REGISTRY_USERNAME}", "password": "${env.QQQ_MAVEN_REGISTRY_PASSWORD}" }]'
- name: Cat settings.xml
run: cat /home/runner/.m2/settings.xml
- name: Set up JDK 17
uses: actions/setup-java@v2
with: