Skip to content

Commit

Permalink
refactor action.yml, remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mufaddal1125 committed Feb 14, 2025
1 parent feb63c0 commit 812566c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,16 @@ inputs:
runs:
using: 'composite'
steps:
- run: flutter config --enable-web
shell: bash
- run: echo "flutter_version=$(flutter --version | awk '{print $2}' | tr -dc '0-9')" >> $GITHUB_ENV
shell: bash
- run: flutter config --enable-web
shell: bash
working-directory: ${{inputs.workingDir}}
- run: flutter build web --release --web-renderer=${{inputs.webRenderer}} --base-href ${{inputs.baseHref}} ${{inputs.customArgs}}
# run only if flutter version < 329
if: ${{ env.flutter_version < 3290 }}
shell: bash
working-directory: ${{inputs.workingDir}}
- run: flutter build web --release --base-href ${{inputs.baseHref}} ${{inputs.customArgs}}
# run only if flutter version >= 329
if: ${{ env.flutter_version >= 3290 }}
shell: bash
working-directory: ${{inputs.workingDir}}
Expand Down

0 comments on commit 812566c

Please sign in to comment.