-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to release 2.4.5 on maven central (#73)
* Try to release 2.4.5 on maven central * Fix the nexus staging maven plugins version
- Loading branch information
Ting Yuan
authored
Nov 23, 2021
1 parent
43b7a6b
commit ee6ed2c
Showing
2 changed files
with
93 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
name: Pulsar-Spark Release | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
upload: | ||
name: Upload Release files | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
|
||
- name: Release Maven package | ||
uses: samuelmeuli/action-maven-publish@v1 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
gpg_passphrase: ${{ secrets.PASSPHRASE }} | ||
nexus_username: ${{ secrets.SONATYPE_USERNAME }} | ||
nexus_password: ${{ secrets.SONATYPE_PASSWORD }} | ||
server_id: ossrh | ||
maven_profiles: release | ||
maven_goals_phases: clean deploy | ||
maven_args: -DskipTests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters