File tree Expand file tree Collapse file tree 3 files changed +39
-4
lines changed Expand file tree Collapse file tree 3 files changed +39
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+ push :
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ name : Deploy
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Set up JDK 1.8
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 1.8
19+ - name : Publish
20+ run : mvn deploy -P release
21+
22+
23+ # - name: Set up Apache Maven Central
24+ # uses: actions/setup-java@v1
25+ # with: # running setup-java again overwrites the settings.xml
26+ # java-version: 1.8
27+ # server-id: maven # Value of the distributionManagement/repository/id field of the pom.xml
28+ # server-username: MAVEN_USERNAME # env variable for username in deploy
29+ # server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy
30+ #
31+ # - name: Publish to Apache Maven Central
32+ # run: mvn deploy -P release-maven
33+ # env:
34+ # MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
35+ # MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Powertools is available in Maven Central. You can use your favourite dependency
1616<dependencies >
1717 ...
1818 <dependency >
19- <groupId >com.amazonaws </groupId >
19+ <groupId >software.aws.lambda </groupId >
2020 <artifactId >aws-lambda-powertools-java</artifactId >
2121 <version >YOUR_REQUIRED_VERSION</version >
2222 </dependency >
@@ -30,7 +30,7 @@ repositories {
3030}
3131
3232dependencies {
33- powertools 'com.amazonaws :aws-lambda-powertools-java:YOUR_REQUIRED_VERSION'
33+ powertools 'software.aws.lambda :aws-lambda-powertools-java:YOUR_REQUIRED_VERSION'
3434}
3535```
3636
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Powertools is available in Maven Central. You can use your favourite dependency
1414<dependencies >
1515 ...
1616 <dependency >
17- <groupId >com.amazonaws </groupId >
17+ <groupId >software.aws.lambda </groupId >
1818 <artifactId >aws-lambda-powertools-java</artifactId >
1919 <version >YOUR_REQUIRED_VERSION</version >
2020 </dependency >
@@ -28,7 +28,7 @@ repositories {
2828}
2929
3030dependencies {
31- powertools 'com.amazonaws :aws-lambda-powertools-java:YOUR_REQUIRED_VERSION'
31+ powertools 'software.aws.lambda :aws-lambda-powertools-java:YOUR_REQUIRED_VERSION'
3232}
3333```
3434
You can’t perform that action at this time.
0 commit comments