Fixes for mvn-settings.xml #3

This commit is contained in:
Marko Frankovic
2025-02-27 12:28:04 +01:00
parent f99d8fb3dd
commit fcb9020951
3 changed files with 15 additions and 9 deletions
+5 -3
View File
@@ -27,6 +27,11 @@ jobs:
with:
maven-version: '3.9.9'
- name: Write Maven settings
run: echo -e "$MVN_SETTINGS_XML" > ~/.m2/settings.xml
env:
MVN_SETTINGS_XML: ${{ secrets.MVN_SETTINGS_XML }}
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
@@ -34,9 +39,6 @@ jobs:
distribution: 'corretto'
cache: maven
overwrite-settings: false
run: echo -e "$MVN_SETTINGS_XML" > ~/.m2/settings.xml
env:
MVN_SETTINGS_XML: ${{ secrets.MVN_SETTINGS_XML }}
- name: Set up AWS Cli
run: |