From 3ca2155b8998c683c802219917dedfe4a8e2a7b7 Mon Sep 17 00:00:00 2001 From: Paul Sterl Date: Tue, 31 Dec 2024 17:16:25 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29ff07d7..54302e97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,6 +55,7 @@ jobs: java-doc: runs-on: ubuntu-latest + needs: [build] if: ${{ github.ref == 'refs/heads/main' }} permissions: contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow.