Skip to content

Commit 5157e0c

Browse files
committed
fix: Settings.xml
1 parent ae7663d commit 5157e0c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ jobs:
2828
- name: Import private-key
2929
run: gpg --import private-file.key
3030
- name: SettingXML
31-
run: echo ${{ secrets.SETTINGSXML }} > settings.xml
31+
run: |
32+
cat > settings.xml <<EOF
33+
${{ secrets.SETTINGSXML }}
34+
EOF
3235
- name: move Settings.xml
3336
run: mv settings.xml ~/.m2/settings.xml
3437
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)