We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9fe7ee commit 57d2db7Copy full SHA for 57d2db7
1 file changed
.github/actions/build/build-binaries/action.yml
@@ -105,7 +105,8 @@ runs:
105
make java_install
106
107
- name: Save Maven cache
108
- if: ${{ inputs.mainJavaBuild == 'true' }}
+ # Save maven cache only after pushes into default branch
109
+ if: ${{ inputs.mainJavaBuild == 'true' && github.event_name == 'push' && github.ref_name == github.event.repository.default_branch }}
110
uses: actions/cache/save@v5
111
with:
112
path: ~/.m2/repository
0 commit comments