File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,19 @@ jobs:
27
27
run : echo "${{ secrets.GPGPASSPHRASE }}" > private-file.key
28
28
- name : Import private-key
29
29
run : gpg --import private-file.key
30
- - name : maven-settings-xml-action
31
- uses : whelk-io/maven-settings-xml-action@v22
32
- with :
33
- servers : ' [{ "id": "Mryan2005", "username": "${{secrets.mavenUsername}}", "password": "${{secrets.mavenPassword}}" }]'
30
+ - name : SettingXML
31
+ run : |
32
+ cat << EOF > settings.xml
33
+ ${{ secrets.SETTINGSXML }}
34
+ EOF
35
+ ls
34
36
- uses : actions/checkout@v4
35
37
- uses : actions/setup-java@v4
36
38
with :
37
39
java-version : ' 21'
38
40
distribution : ' temurin'
39
41
- name : Publish package
40
- run : mvn --batch-mode deploy
42
+ run : mvn --batch-mode deploy -s settings.xml
41
43
env :
42
44
GITHUB_TOKEN : ${{ secrets.GITHUBTOKEN }}
43
45
# - name: Maven Central Publish
You can’t perform that action at this time.
0 commit comments