Skip to content

Commit 11fc58e

Browse files
committed
only publish on tags
1 parent 2debb4e commit 11fc58e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/java_bindings.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ name: CI
66
# events but only for the master branch
77
on:
88
push:
9-
- '*'
9+
branches:
10+
- '*'
11+
tags:
12+
- '*'
1013

1114
concurrency:
1215
group: ${{ github.workflow }}-${{ github.ref }}
@@ -165,6 +168,7 @@ jobs:
165168
path: bindings/java/src/main/resources/manifold3d/natives/
166169
deploy_java:
167170
runs-on: ubuntu-latest
171+
if: startsWith(github.ref, 'refs/tags/')
168172
needs: [ build_linux_java_x86,build_linux_java_ARM,build_windows_java_x86 ,build_mac_java]
169173
steps:
170174
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)