diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index aa877ba..f6b4b5f 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -54,7 +54,7 @@ jobs: - name: Publish to Maven Central run: | - if [[ ${{ env.TAG_NAME }} == *"SNAPSHOT" ]]; then + if [[ ${{ env.TAG_NAME }} == *"beta" || ${{ env.TAG_NAME }} == *"alpha" ]]; then ./gradlew publishToMavenSnapShotRepository else ./gradlew publish