diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c06f3d..32bc1dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: run: | git config --global user.name ${{ secrets.BALLERINA_BOT_USERNAME }} git config --global user.email ${{ secrets.BALLERINA_BOT_EMAIL }} - ./gradlew build -x check -x test + ./gradlew build -x test - name: Create lib directory if not exists run: mkdir -p ballerina/lib - name: Run Trivy vulnerability scanner diff --git a/build.gradle b/build.gradle index 8bf4950..94475f6 100644 --- a/build.gradle +++ b/build.gradle @@ -99,3 +99,6 @@ release { task build { dependsOn("${packageName}-ballerina:build") } + +publishToMavenLocal.dependsOn build +publish.dependsOn build