From 41618efd4e3223558c0b508e70ea926e695d00fa Mon Sep 17 00:00:00 2001 From: Armando Belardo <11140328+armandobelardo@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:56:35 -0400 Subject: [PATCH] fix: actually publish the generator cli off main (#1071) --- .github/workflows/publish-generator-cli.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-generator-cli.yml b/.github/workflows/publish-generator-cli.yml index eeee1ddcb3..a06a0eef9f 100644 --- a/.github/workflows/publish-generator-cli.yml +++ b/.github/workflows/publish-generator-cli.yml @@ -1,7 +1,8 @@ name: Publish Generator CLI on: - workflow_call: + push: + tags: ["*"] env: PACKAGE_NAME: "@fern-api/generator-cli" @@ -13,6 +14,7 @@ env: jobs: publish_sdk: + if: github.ref_type == 'tag' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/generator-cli@') runs-on: ubuntu-latest steps: - uses: actions/checkout@v4