File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1414
1515 - uses : nelonoel/branch-name@v1.0.1
1616
17+ - uses : actions/setup-java@v2
18+ with :
19+ java-version : ' 11'
20+ distribution : ' adopt'
21+
1722 - name : Set version number
1823 run : ./mvnw versions:set -DnewVersion=0.1.${{ github.run_number }}
1924
4247 asset_name : randomquotesapi-lambda.0.1.${{ github.run_number }}.jar
4348 asset_content_type : application/zip
4449
50+ - name : Publish package
51+ run : mvn --batch-mode deploy
52+ env :
53+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54+
Original file line number Diff line number Diff line change 5151 </plugin >
5252 </plugins >
5353 </build >
54+
55+ <distributionManagement >
56+ <repository >
57+ <id >github</id >
58+ <name >GitHub Packages</name >
59+ <url >https://maven.pkg.github.com/OctopusSamples/RandomQuotesAPI-Java-AWS-Lambda</url >
60+ </repository >
61+ </distributionManagement >
5462</project >
You can’t perform that action at this time.
0 commit comments