Skip to content

Commit

Permalink
[workflow] inputs.deploy_app_store
Browse files Browse the repository at this point in the history
  • Loading branch information
liplum committed Nov 23, 2024
1 parent 42e611a commit 0291524
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Flutter Build

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
deploy_app_store:
description: 'Deploy on App Store connect'
required: true
default: true
type: boolean

permissions: write-all

jobs:
Expand Down Expand Up @@ -72,7 +80,7 @@ jobs:

build_ios:
runs-on: macos-14 # macos-latest is macos-12 actually, and iOS 17+ SDK not supported
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && ${{ inputs.deploy_app_store }}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 0291524

Please sign in to comment.