diff --git a/.github/actions/publish-release/action.yml b/.github/actions/publish-release/action.yml index 4496a7fe84..9a31142598 100644 --- a/.github/actions/publish-release/action.yml +++ b/.github/actions/publish-release/action.yml @@ -175,7 +175,9 @@ runs: --dry-run="${INPUTS_DRY_RUN}" \ --workspace="${INPUTS_CORE_PACKAGE_NAME}" \ --no-tag - npm dist-tag rm ${INPUTS_CORE_PACKAGE_NAME} false + if [[ "${INPUTS_DRY_RUN}" == "false" ]]; then + npm dist-tag rm ${INPUTS_CORE_PACKAGE_NAME} false + fi - name: '🔗 Install latest core package' working-directory: '${{ inputs.working-directory }}' @@ -248,7 +250,9 @@ runs: --dry-run="${INPUTS_DRY_RUN}" \ --workspace="${INPUTS_A2A_PACKAGE_NAME}" \ --no-tag - npm dist-tag rm ${INPUTS_A2A_PACKAGE_NAME} false + if [[ "${INPUTS_DRY_RUN}" == "false" ]]; then + npm dist-tag rm ${INPUTS_A2A_PACKAGE_NAME} false + fi - name: '🔬 Verify NPM release by version' uses: './.github/actions/verify-release'