File tree Expand file tree Collapse file tree 4 files changed +14
-11
lines changed Expand file tree Collapse file tree 4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v3
1717 - name : Set up JDK 11 for Maven Central
18- uses : actions/setup-java@v1
18+ uses : actions/setup-java@v2
1919 with :
20+ distribution : ' zulu'
2021 java-version : ' 11'
2122 architecture : x64
2223 server-id : ossrh
2627 server-password : MAVEN_CENTRAL_TOKEN
2728 - name : Setup git profile
2829 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"
3132 - name : Publish Snapshot to Maven Central
3233 run : mvn deploy -B -Possrh
3334 env :
Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v3
1717 - name : Set up JDK 11
18- uses : actions/setup-java@v1
18+ uses : actions/setup-java@v2
1919 with :
20+ distribution : ' zulu'
2021 java-version : ' 11'
2122 architecture : x64
2223 - name : Build with Maven
Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ jobs:
1616 runs-on : ubuntu-latest
1717
1818 steps :
19- - uses : actions/checkout@v2
19+ - uses : actions/checkout@v3
2020 - name : Set up JDK 11
21- uses : actions/setup-java@v1
21+ uses : actions/setup-java@v2
2222 with :
23+ distribution : ' zulu'
2324 java-version : ' 11'
2425 architecture : x64
2526 server-id : ossrh
2930 server-password : MAVEN_CENTRAL_TOKEN
3031 - name : Setup git profile
3132 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"
3435 - name : Maven release
3536 run : mvn release:prepare release:perform -B -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -Possrh
3637 env :
Original file line number Diff line number Diff line change 22
33These actions can only be performed by someone with maintainer level access to the repository.
44
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 `
662 . After this completes, find the release on the [ Releases page] ( https://github.com/hap-java/HAP-Java/releases )
773 . Edit the release to include the changelog details
You can’t perform that action at this time.
0 commit comments