Skip to content

Commit

Permalink
Added GH workflow to publish artifacts to BinTray
Browse files Browse the repository at this point in the history
  • Loading branch information
andsel committed Jan 22, 2021
1 parent 2d4b796 commit a1d7719
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/bintray_release_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow deploy the packages to bintray

name: Build and ship to bintray

#on:
# push:
# tags:
# - "v*"
on:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java 11
uses: actions/setup-java@v1
with:
java-version: 11
server-id: bintray
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.BINTRAY_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.BINTRAY_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![Java CI with Maven](https://github.com/moquette-io/moquette/workflows/Java%20CI%20with%20Maven/badge.svg?branch=master)

## Moquette Project

Expand Down

0 comments on commit a1d7719

Please sign in to comment.