Skip to content

Commit

Permalink
fix(ci): properly check release condition
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly committed Nov 9, 2024
1 parent 0b929c9 commit a71b1b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a71b1b9

Please sign in to comment.