From b41afb2e280de739182d1351634cfdea48960213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Heleno?= Date: Thu, 17 Oct 2024 11:28:00 +0200 Subject: [PATCH] ci: only generate documentation when there is a release --- .github/workflows/publish-javadoc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-javadoc.yaml b/.github/workflows/publish-javadoc.yaml index 9af40ae..d62b04d 100644 --- a/.github/workflows/publish-javadoc.yaml +++ b/.github/workflows/publish-javadoc.yaml @@ -2,8 +2,8 @@ name: "publish-javadoc" on: push: - branches: - - main + tags: + - "v*" jobs: generate-javadoc: