File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 14
14
15
15
-
uses :
nelonoel/[email protected]
16
16
17
+ - uses : actions/setup-java@v2
18
+ with :
19
+ java-version : ' 11'
20
+ distribution : ' adopt'
21
+
17
22
- name : Set version number
18
23
run : ./mvnw versions:set -DnewVersion=0.1.${{ github.run_number }}
19
24
42
47
asset_name : randomquotesapi-lambda.0.1.${{ github.run_number }}.jar
43
48
asset_content_type : application/zip
44
49
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 51
51
</plugin >
52
52
</plugins >
53
53
</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 >
54
62
</project >
You can’t perform that action at this time.
0 commit comments