File tree 3 files changed +39
-4
lines changed
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
16
16
<dependencies >
17
17
...
18
18
<dependency >
19
- <groupId >com.amazonaws </groupId >
19
+ <groupId >software.aws.lambda </groupId >
20
20
<artifactId >aws-lambda-powertools-java</artifactId >
21
21
<version >YOUR_REQUIRED_VERSION</version >
22
22
</dependency >
@@ -30,7 +30,7 @@ repositories {
30
30
}
31
31
32
32
dependencies {
33
- powertools 'com.amazonaws :aws-lambda-powertools-java:YOUR_REQUIRED_VERSION'
33
+ powertools 'software.aws.lambda :aws-lambda-powertools-java:YOUR_REQUIRED_VERSION'
34
34
}
35
35
```
36
36
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
14
14
<dependencies >
15
15
...
16
16
<dependency >
17
- <groupId >com.amazonaws </groupId >
17
+ <groupId >software.aws.lambda </groupId >
18
18
<artifactId >aws-lambda-powertools-java</artifactId >
19
19
<version >YOUR_REQUIRED_VERSION</version >
20
20
</dependency >
@@ -28,7 +28,7 @@ repositories {
28
28
}
29
29
30
30
dependencies {
31
- powertools 'com.amazonaws :aws-lambda-powertools-java:YOUR_REQUIRED_VERSION'
31
+ powertools 'software.aws.lambda :aws-lambda-powertools-java:YOUR_REQUIRED_VERSION'
32
32
}
33
33
```
34
34
You can’t perform that action at this time.
0 commit comments