Skip to content

Commit 7cf897d

Browse files
Update java.yml
Update github actions publish step
1 parent e3c4c5b commit 7cf897d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/java.yml

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

3434
publish:
3535
needs: build
36-
if: startsWith(github.ref, 'refs/tags/v')
36+
if: startsWith(github.ref, 'refs/tags/release')
3737
runs-on: ubuntu-latest
3838
permissions:
3939
contents: read
@@ -49,4 +49,4 @@ jobs:
4949
- name: Deploy with Maven
5050
run: mvn --batch-mode --update-snapshots deploy
5151
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)