diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index 25c354b..4ffdc90 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -11,6 +11,9 @@ on: jobs: build: runs-on: ubuntu-latest + env: + MAVEN_DEPLOY_USER: ${{ secrets.MAVEN_DEPLOY_USER }} + MAVEN_DEPLOY_PASSWORD: ${{ secrets.MAVEN_DEPLOY_PASSWORD }} steps: - uses: actions/checkout@v2 with: @@ -43,3 +46,6 @@ jobs: prerelease: false title: "${{ env.RELEASE_VERSION }}" files: build/libs/*.jar + + - name: Publish to maven + run: ./gradlew publish \ No newline at end of file