diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index 567846ff6..af22aa45e 100755 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -1,7 +1,7 @@ name: build on: - push: + release: branches: - main - develop @@ -45,4 +45,4 @@ jobs: MAVEN_USER: ${{ secrets.MAVEN_USER }} MAVEN_PASS: ${{ secrets.MAVEN_PASS }} OSSRH_PASS: ${{ secrets.OSSRH_PASS }} - SIGNING_ASC: ${{ secrets.SIGNING_ASC }} \ No newline at end of file + SIGNING_ASC: ${{ secrets.SIGNING_ASC }}