diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 193266c..0615ddc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,7 @@ jobs: publish-documentation: - if: github.ref_name == 'main' || github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v') + if: github.ref_name == 'main' || startsWith(github.ref, 'refs/tags/') needs: build-documentation runs-on: ubuntu-latest @@ -94,7 +94,7 @@ jobs: build-package: - if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest @@ -121,7 +121,7 @@ jobs: publish-package: - if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/') needs: build-package