File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,21 @@ jobs:
16
16
run : mvn versions:set -DnewVersion="${RELEASE_VERSION:1}" versions:commit
17
17
env :
18
18
RELEASE_VERSION : ${{ github.event.release.tag_name }}
19
- # - name: Release Maven package
20
- # uses: samuelmeuli/action-maven-publish@v1
21
- # with:
22
- # maven_profiles: "release"
23
- # gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
24
- # gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
25
- # nexus_username: ${{ secrets.OSSRH_USERNAME }}
26
- # nexus_password: ${{ secrets.OSSRH_TOKEN }}
19
+ - name : Release Maven package
20
+ uses : samuelmeuli/action-maven-publish@v1
21
+ with :
22
+ maven_profiles : " release"
23
+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
24
+ gpg_passphrase : ${{ secrets.GPG_PASSPHRASE }}
25
+ nexus_username : ${{ secrets.OSSRH_USERNAME }}
26
+ nexus_password : ${{ secrets.OSSRH_TOKEN }}
27
27
- name : Set version to next snapshot version
28
28
run : mvn -q build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
29
29
- name : Commit files
30
30
run : |
31
31
git config --local user.email "[email protected] "
32
32
git config --local user.name "GitHub Action"
33
- git commit -m "Add changes " -a
33
+ git commit -m "Set new SNAPSHOT version into pom files. " -a
34
34
- name : Push changes
35
35
uses : ad-m/github-push-action@master
36
36
with :
Original file line number Diff line number Diff line change 117
117
<artifactId >maven-surefire-plugin</artifactId >
118
118
<version >2.22.2</version >
119
119
<configuration >
120
+ <includes >
121
+ <include >**/*Test.java</include >
122
+ </includes >
120
123
<excludes >
121
124
<exclude >**/*IT.java</exclude >
122
125
</excludes >
You can’t perform that action at this time.
0 commit comments