File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0" >
2+ <servers >
3+ <server >
4+ <id >github</id >
5+ <username >${env.GITHUB_ACTOR}</username >
6+ <password >${env.GITHUB_TOKEN}</password >
7+ </server >
8+ </servers >
9+ </settings >
Original file line number Diff line number Diff line change 4949 with :
5050 name : warFiles
5151 path : staging
52+ - name : Publish Maven artifacts
53+ run : ./mvnw -pl osgp/shared/osgp-dto deploy --settings .github/settings.xml
54+ if : contains(github.ref, 'release') || contains(github.ref, 'development')
55+ env :
56+ GITHUB_ACTOR : ${{ github.actor }}
57+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5258
5359 docker :
5460 name : Building docker images
Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ SPDX-License-Identifier: Apache-2.0
2323 <relativePath >../parent-shared/pom.xml</relativePath >
2424 </parent >
2525
26+ <distributionManagement >
27+ <repository >
28+ <id >github</id >
29+ <url >https://maven.pkg.github.com/osgp/open-smart-grid-platform</url >
30+ </repository >
31+ </distributionManagement >
32+
2633 <dependencies >
2734 <dependency >
2835 <groupId >commons-codec</groupId >
You can’t perform that action at this time.
0 commit comments