File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 2929
3030 - name : Build with Maven
3131 run : |
32- mvn --batch-mode package
32+ mvn --batch-mode --settings settings.xml package
3333
3434 - name : Archive Build Output
3535 uses : actions/upload-artifact@v2
4747
4848 - name : Publish package
4949 if : github.event_name == 'release'
50- run : mvn --batch-mode deploy
50+ run : mvn --batch-mode --settings settings.xml deploy
5151 env :
5252 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ <?xml version =' 1.0' encoding =' UTF-8' ?>
2+ <settings xsi : schemaLocation =' http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
3+ xmlns =' http://maven.apache.org/SETTINGS/1.0.0' xmlns : xsi =' http://www.w3.org/2001/XMLSchema-instance' >
4+ <servers >
5+ <server >
6+ <id >github</id >
7+ <username >${env.JAVAHL_USERNAME}</username >
8+ <password >${env.JAVAHL_TOKEN}</password >
9+ </server >
10+ </servers >
11+ </settings >
You can’t perform that action at this time.
0 commit comments