We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2d86fa commit 6ad7cbdCopy full SHA for 6ad7cbd
.github/workflows/maven-publish.yml
@@ -27,13 +27,10 @@ jobs:
27
run: echo "${{ secrets.GPGPASSPHRASE }}" > private-file.key
28
- name: Import private-key
29
run: gpg --import private-file.key
30
- - name: SettingXML
31
- run: |
32
- mkdir -p ~/.m2
33
- cat /dev/null > ~/.m2/settings.xml
34
- cat > ~/.m2/settings.xml <<EOF
35
- ${{ secrets.SETTINGSXML }}
36
- EOF
+ - name: maven-settings-xml-action
+ uses: whelk-io/maven-settings-xml-action@v22
+ with:
+ servers: '[{ "id": "Mryan2005", "username": "${{secrets.mavenUsername}}", "password": "${{secrets.mavenPassword}}" }]'
37
- uses: actions/checkout@v4
38
- uses: actions/setup-java@v4
39
with:
0 commit comments