From 8e7be2e48f13fd9cc29ffe43d6e1a13448699b57 Mon Sep 17 00:00:00 2001 From: jimid27 Date: Thu, 18 Jan 2024 13:04:16 -0500 Subject: [PATCH] Release fix --- action.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index ec962ae..972dddd 100644 --- a/action.yaml +++ b/action.yaml @@ -44,6 +44,7 @@ runs: access: public - name: Create Release + if: ${{ steps.publish.outputs.type }} env: GH_TOKEN: ${{ inputs.GITHUB_TOKEN }} tag: ${{ steps.publish.outputs.version }} @@ -55,7 +56,8 @@ runs: shell: bash - name: Trigger Nebula UI NPM Package Update - if: ${{ inputs.UPDATE_DOWNSTREAM_REPOS == 'true' }} + if: | + ${{ inputs.UPDATE_DOWNSTREAM_REPOS == 'true' }} && ${{ steps.publish.outputs.type }} env: GITHUB_TOKEN: ${{ inputs.NEBULA_UI_ACTIONS_RW_TOKEN }} tag: ${{ steps.publish.outputs.version }} @@ -68,7 +70,8 @@ runs: shell: bash - name: Trigger Prefect OSS NPM Package Update - if: ${{ inputs.UPDATE_DOWNSTREAM_REPOS == 'true' }} + if: | + ${{ inputs.UPDATE_DOWNSTREAM_REPOS == 'true' }} && ${{ steps.publish.outputs.type }} env: GITHUB_TOKEN: ${{ inputs.PREFECT_OSS_ACTIONS_RW_TOKEN }} tag: ${{ steps.publish.outputs.version }}