From 58010bfcf4391d0820089e62989ab76a8c69e053 Mon Sep 17 00:00:00 2001 From: Sam Lijin Date: Thu, 5 Dec 2024 18:51:13 -0800 Subject: [PATCH] again --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index efe9c974f..66ca53375 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,9 +42,9 @@ jobs: # - build-typescript-release # - build-vscode-release outputs: - should-run-publish-job: "" - should-run-publish-step: "" - should-run-publish-job2: ${{ false }} + should-run-publish-job: false + should-run-publish-step: true + should-run-publish-job2: ${{ startsWith(github.ref, 'refs/tags/') && 'true' }} should-run-publish-step2: ${{ startsWith(github.ref, 'refs/tags/') && !startsWith(github.ref, 'refs/tags/test-release') }} steps: - if: github.ref_type == 'tag' @@ -57,7 +57,7 @@ jobs: steps: - if: needs.all-builds.outputs.should-run-publish-job run: echo "should-run-publish-job true" - - if: needs.all-builds.outputs.should-run-publish-step + - if: needs.all-builds.outputs.should-run-publish-step == 'true' run: echo "should-run-publish-step true" - if: needs.all-builds.outputs.should-run-publish-job2 run: echo "should-run-publish-job2 true"