From 42303e0cd398ab9fa08b6da083b73e503dbd5e97 Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Sat, 3 Feb 2024 12:42:13 +0530 Subject: [PATCH] Remove check from workflow as there is no native code --- .github/workflows/release.yml | 2 +- build.gradle | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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