-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
36 changed files
with
3,433 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,37 @@ | ||
name: Publish to Maven Central | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
publish: | ||
environment: mavenCentralPublish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Configure git | ||
env: | ||
TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
run: git config --global url."https://${TOKEN}:[email protected]/".insteadOf "https://github.com/" | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Checkout hivemq-platform | ||
run: | | ||
git clone https://github.com/hivemq/hivemq-platform.git ../hivemq-platform | ||
cd ../hivemq-platform | ||
git checkout "${GITHUB_REF##*/}" || true | ||
cd ../hivemq-pubsub-extension-customization-sdk | ||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
- name: Check | ||
run: ./gradlew check | ||
- name: Publish to Maven Central | ||
env: | ||
ORG_GRADLE_PROJECT_signKey: ${{ secrets.SIGN_KEY }} | ||
ORG_GRADLE_PROJECT_signKeyPass: ${{ secrets.SIGN_KEY_PASS }} | ||
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} | ||
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} | ||
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository |
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,14 @@ | ||
# Gradle | ||
.gradle | ||
build/ | ||
|
||
# IntelliJ | ||
out/ | ||
*.iml | ||
.idea/* | ||
!.idea/codeStyles | ||
!.idea/inspectionProfiles | ||
!.idea/runConfigurations | ||
|
||
.java-version | ||
.DS_Store |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.