Skip to content

Commit

Permalink
[github] run publish task only for release candidate and release
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Gall, Benoit committed Aug 14, 2024
1 parent ea78729 commit 6b3ebee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
files: '**/test-results/**/*.xml'

- name: Generate package
if: startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/tags/')
run: ./gradlew publish

- name: Deploy released package in MavenCentral
Expand Down

0 comments on commit 6b3ebee

Please sign in to comment.