Skip to content

Commit a83f558

Browse files
committed
fixed if syntax
1 parent 6b37adc commit a83f558

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ inputs:
1313
runs:
1414
using: 'composite'
1515
steps:
16-
- run: |
17-
command="ipy ipy ${{ github.action_path }}/componentize.py ${{ inputs.source }} ${{ inputs.target }} --ghio ./lib"
18-
prefix="${{ inputs.prefix }}"
19-
if [ -n "$prefix" ]; then
20-
command="$command --prefix $prefix"
21-
fi
2216
- run: nuget install Grasshopper -OutputDirectory ./lib -source https://api.nuget.org/v3/index.json
2317
shell: pwsh
24-
- run: $command
18+
- run: |
19+
command="ipy ${{ github.action_path }}/componentize.py ${{ inputs.source }} ${{ inputs.target }} --ghio ./lib"
20+
prefix="${{ inputs.prefix }}"
21+
if [ -n "$prefix" ]; then
22+
command="$command --prefix $prefix"
23+
fi
24+
$command
2525
shell: pwsh
2626
branding:
2727
icon: 'box'

0 commit comments

Comments
 (0)