Skip to content

Commit 36e393c

Browse files
CD: Attempt to fix ' Configure Maven settings.xml ' step
1 parent 5818d83 commit 36e393c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/java.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
java-version: '17'
2424

2525
- name: Configure Maven settings.xml
26-
run: echo "${{ secrets.MAVEN_SETTINGS }}" > ~/.m2/settings.xml
26+
run: |
27+
mkdir -p ~/.m2
28+
echo "${{ secrets.MAVEN_SETTINGS_BASE64 }}" | base64 --decode > ~/.m2/settings.xml
2729
2830
- name: Build & Test metrics-core
2931
working-directory: packages/java

0 commit comments

Comments
 (0)