File tree 4 files changed +14
-11
lines changed
4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
16
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@v3
17
17
- name : Set up JDK 11 for Maven Central
18
- uses : actions/setup-java@v1
18
+ uses : actions/setup-java@v2
19
19
with :
20
+ distribution : ' zulu'
20
21
java-version : ' 11'
21
22
architecture : x64
22
23
server-id : ossrh
26
27
server-password : MAVEN_CENTRAL_TOKEN
27
28
- name : Setup git profile
28
29
run : |
29
- git config --global user.name github-actions
30
- git config --global user.email github-actions@ github.com
30
+ git config --global user.name " github-actions[bot]"
31
+ git config --global user.email "41898282+ github-actions[bot]@users.noreply. github.com"
31
32
- name : Publish Snapshot to Maven Central
32
33
run : mvn deploy -B -Possrh
33
34
env :
Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
16
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@v3
17
17
- name : Set up JDK 11
18
- uses : actions/setup-java@v1
18
+ uses : actions/setup-java@v2
19
19
with :
20
+ distribution : ' zulu'
20
21
java-version : ' 11'
21
22
architecture : x64
22
23
- name : Build with Maven
Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
18
18
steps :
19
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v3
20
20
- name : Set up JDK 11
21
- uses : actions/setup-java@v1
21
+ uses : actions/setup-java@v2
22
22
with :
23
+ distribution : ' zulu'
23
24
java-version : ' 11'
24
25
architecture : x64
25
26
server-id : ossrh
29
30
server-password : MAVEN_CENTRAL_TOKEN
30
31
- name : Setup git profile
31
32
run : |
32
- git config user.name github-actions
33
- git config user.email github-actions@ github.com
33
+ git config --global user.name " github-actions[bot]"
34
+ git config --global user.email "41898282+ github-actions[bot]@users.noreply. github.com"
34
35
- name : Maven release
35
36
run : mvn release:prepare release:perform -B -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -Possrh
36
37
env :
Original file line number Diff line number Diff line change 2
2
3
3
These actions can only be performed by someone with maintainer level access to the repository.
4
4
5
- 1 . Run the [ Stage Release on Master Branch] ( https://github.com/hap-java/HAP-Java/actions/workflows/release.yml ) Action
5
+ 1 . Run the [ Stage Release on Master Branch] ( https://github.com/hap-java/HAP-Java/actions/workflows/release.yml ) Action with a version such as ` 2.0.2 `
6
6
2 . After this completes, find the release on the [ Releases page] ( https://github.com/hap-java/HAP-Java/releases )
7
7
3 . Edit the release to include the changelog details
You can’t perform that action at this time.
0 commit comments