diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b717129c72..45f23edf29 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -144,9 +144,8 @@ jobs: path: ${{ runner.temp }}/maven-repo if-no-files-found: error - # Release path only (vYY.MM.PP tags). java-maven-publish: - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') || inputs.build_type == 'nightly' needs: [java-static-gather] permissions: actions: read