mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Move settings-xml setup to be after java install
This commit is contained in:
12
.github/workflows/maven.yml
vendored
12
.github/workflows/maven.yml
vendored
@ -18,6 +18,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'adopt'
|
||||||
|
cache: maven
|
||||||
- name: maven-settings-xml-action
|
- name: maven-settings-xml-action
|
||||||
uses: whelk-io/maven-settings-xml-action@v20
|
uses: whelk-io/maven-settings-xml-action@v20
|
||||||
with:
|
with:
|
||||||
@ -25,11 +31,5 @@ jobs:
|
|||||||
servers: '[{ "id": "github", "username": "${{ secrets.QQQ_MAVEN_REGISTRY_USERNAME }}", "password": "${{ secrets.QQQ_MAVEN_REGISTRY_PASSWORD }}" }]'
|
servers: '[{ "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: Set up JDK 17
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
java-version: '17'
|
|
||||||
distribution: 'adopt'
|
|
||||||
cache: maven
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -U -B package --file pom.xml
|
run: mvn -U -B package --file pom.xml
|
||||||
|
Reference in New Issue
Block a user