Skip to content

Commit 96d52f6

Browse files
Merge pull request #4 from thriving-dev/feat/no-javadoc-from-pr
feat: run javadoc step only for main/tag
2 parents 8548721 + 1e1d45a commit 96d52f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/1.pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,6 @@ jobs:
7777
contents: write
7878
uses: ./.github/workflows/callable.publish-javadoc.yml
7979
needs: integration_test
80+
if: |
81+
github.ref == 'refs/heads/main'
82+
|| github.ref_type == 'tag'

0 commit comments

Comments
 (0)