From 0f34bdfc588bc82559d9589173ce0f64a50acf03 Mon Sep 17 00:00:00 2001 From: Shailesh Jagannath Padave Date: Tue, 14 Jan 2025 23:50:54 +0530 Subject: [PATCH 1/3] Update workflow yaml --- .github/workflows/release.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 371b843..4e27ec6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,14 +3,12 @@ name: Publish a build on: - workflow_dispatch: - release: - types: - - released - - prereleased - -permissions: - contents: read + push: + branches: + - main + pull_request: + branches: + - main jobs: publish: From 57735fa972ae3f609378822ebad67825c8b1a9bb Mon Sep 17 00:00:00 2001 From: Shailesh Jagannath Padave Date: Tue, 14 Jan 2025 23:53:48 +0530 Subject: [PATCH 2/3] Updated --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4e27ec6..d7339c2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ on: jobs: publish: - runs-on: ubuntu-latest-8-cores + runs-on: ubuntu-latest name: Gradle Build and Publish to Container Registry steps: - uses: actions/checkout@v3 From 95d075023b6cb4b18164a551cf5cddbeef1c411d Mon Sep 17 00:00:00 2001 From: Shailesh Jagannath Padave Date: Wed, 15 Jan 2025 00:09:05 +0530 Subject: [PATCH 3/3] Updated --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d7339c2..7c971f7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,6 +16,10 @@ jobs: name: Gradle Build and Publish to Container Registry steps: - uses: actions/checkout@v3 + + - name: Set execute permissions for gradlew + run: chmod +x ./gradlew + - name: Set up Zulu JDK 21 uses: actions/setup-java@v4 with: