Skip to content

Commit b229a88

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ jobs:
2929
run: gpg --import private-file.key
3030
- name: SettingXML
3131
run: |
32-
cat > settings.xml <<EOF
32+
cat /dev/null > ~/.m2/settings.xml
33+
cat > ~/.m2/settings.xml <<EOF
3334
${{ secrets.SETTINGSXML }}
3435
EOF
35-
- name: move Settings.xml
36-
run: mv settings.xml ~/.m2/settings.xml
3736
- uses: actions/checkout@v4
3837
- uses: actions/setup-java@v4
3938
with:

0 commit comments

Comments
 (0)