From 862a33af63be60ec0e950183a89ca03394d9fe56 Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Fri, 7 Feb 2025 11:38:27 +0530 Subject: [PATCH] Fix release workflow --- .github/workflows/publish-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 2ebaeb7..24ae4f0 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -54,6 +54,9 @@ jobs: publishUser: ${{ secrets.BALLERINA_BOT_USERNAME }} publishPAT: ${{ secrets.BALLERINA_BOT_TOKEN }} run: | + rm -rf .cache + rm -rf trivy + git stash ./gradlew clean release -Prelease.useAutomaticVersion=true --stacktrace --console=plain ./gradlew -Pversion=${VERSION} publish -x test -PpublishToCentral=true --stacktrace --console=plain - name: GitHub Release and Release Sync PR