From 4b85f950b5c76ae981dff442bc7d5a55100dc628 Mon Sep 17 00:00:00 2001 From: Essem Date: Sat, 22 Jun 2024 15:24:14 -0500 Subject: [PATCH] Automatically publish on elease --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb19f44..50d4f16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,10 @@ jobs: uses: gradle/gradle-build-action@v2 - name: Execute Gradle build - run: ./gradlew build + run: ./gradlew build publish + env: + MAVEN_NAME: ${{ secrets.MAVEN_NAME }} + MAVEN_SECRET: ${{ secrets.MAVEN_SECRET }} - name: Release uses: softprops/action-gh-release@v1 with: