From a71b1b9a7d5901692e2cc17af9515c552898d11b Mon Sep 17 00:00:00 2001 From: pylixonly <82711525+pylixonly@users.noreply.github.com> Date: Sat, 9 Nov 2024 16:29:20 +0800 Subject: [PATCH] fix(ci): properly check release condition https://github.com/actions/runner/issues/1483 --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a3e7d7a..4765412 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,5 @@ name: Deploy -run-name: ${{ github.event.inputs.release == true && 'Release' || 'Build' }} for ${{ github.event.inputs.ipa_url }} +run-name: ${{ github.event.inputs.release == 'true' && 'Release' || 'Build' }} for ${{ github.event.inputs.ipa_url }} on: workflow_dispatch: @@ -150,7 +150,7 @@ jobs: path: ${{ github.workspace }}/${{ env.APP_NAME }}.ipa release-app: - if: ${{ github.event.inputs.release == true }} + if: ${{ github.event.inputs.release == 'true' }} runs-on: macos-14 needs: build-ipa permissions: @@ -197,7 +197,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} app-repo: - if: ${{ github.event.inputs.release == true }} + if: ${{ github.event.inputs.release == 'true' }} continue-on-error: true runs-on: macos-14 needs: release-app