Skip to content

Commit 980b6e2

Browse files
enable auto release workflow (#5)
Co-authored-by: Qijun Niu <[email protected]>
1 parent 3b0a353 commit 980b6e2

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,9 @@ jobs:
5050
-e 's|^\( <version>\).*\(</version>\)$|\1${{ github.event.inputs.version }}\2|' \
5151
-e 's|${parent.groupId}|com.clickhouse|g' -e 's|${project.parent.groupId}|com.clickhouse|g' '{}' \;
5252
find . -type f -name "simplelogger.*" -exec rm -fv '{}' \;
53-
- name: Release Maven package
54-
uses: samuelmeuli/action-maven-publish@v1
55-
with:
56-
maven_profiles: release
57-
maven_args: -q --batch-mode
58-
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
59-
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
60-
nexus_username: ${{ secrets.SONATYPE_USER }}
61-
nexus_password: ${{ secrets.SONATYPE_PASSWD }}
53+
- name: Build
54+
run: |
55+
mvn package --batch-mode --activate-profiles release
6256
- name: Create Pre-release on Github
6357
uses: "zhicwu/action-automatic-releases@latest"
6458
with:

0 commit comments

Comments
 (0)