Skip to content

Commit c4b9605

Browse files
committed
remove: Publish snapthots
Signed-off-by: Javier Aliaga <[email protected]>
1 parent 026b38b commit c4b9605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163

164164
publish:
165165
runs-on: ubuntu-latest
166-
needs: [ build, test ]
166+
# needs: [ build, test ]
167167
timeout-minutes: 30
168168
env:
169169
JDK_VER: 17
@@ -183,7 +183,7 @@ jobs:
183183
PARENT_VERSION=$(./mvnw -B -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
184184
echo "PARENT_VERSION=$PARENT_VERSION" >> $GITHUB_ENV
185185
- name: Is SNAPSHOT release ?
186-
if: contains(github.ref, 'master') && contains(env.PARENT_VERSION, '-SNAPSHOT')
186+
if: contains(env.PARENT_VERSION, '-SNAPSHOT')
187187
run: |
188188
echo "DEPLOY_OSSRH=true" >> $GITHUB_ENV
189189
- name: Is Release or RC version ?

0 commit comments

Comments
 (0)