mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Switch from omaven-settings-action to maven-settings-xml-action
This commit is contained in:
13
.github/workflows/maven.yml
vendored
13
.github/workflows/maven.yml
vendored
@ -24,15 +24,10 @@ jobs:
|
|||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
cache: maven
|
cache: maven
|
||||||
- name: maven-settings-action
|
- name: maven-settings-xml-action
|
||||||
uses: s4u/maven-settings-action@v2.4.1
|
uses: whelk-io/maven-settings-xml-action@v20
|
||||||
with:
|
with:
|
||||||
githubServer: false
|
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: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B deploy --file pom.xml
|
run: mvn -B deploy --file pom.xml
|
||||||
|
Reference in New Issue
Block a user