Skip to content

Commit

Permalink
Add submodule support to publish.yaml (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem authored Jan 16, 2024
1 parent b51c356 commit c81f25c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ on:
default: true
required: false
type: boolean
checkout_submodules:
description: >-
Whether to checkout submodules of git repositories.
default: false
required: false
type: boolean

jobs:
# Note that this job does not require the specified environment.
Expand All @@ -91,10 +97,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: ${{ inputs.checkout_submodules }}

- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225
if: ${{ inputs.use-flutter }}
with:
channel: ${{ inputs.sdk }}


- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
if: ${{ !inputs.use-flutter }}
Expand Down

0 comments on commit c81f25c

Please sign in to comment.