Skip to content

Commit

Permalink
make dry-run also accept bools
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Aug 21, 2024
1 parent a775a7a commit bd9e149
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ jobs:
echo ARCHITECTURE=${{ steps.flutter-action.outputs.ARCHITECTURE }}
shell: bash
- run: dart --version
if: ${{ matrix.dry-run != 'true' }}
if: ${{ matrix.dry-run != true }}
shell: bash
- run: flutter --version
if: ${{ matrix.dry-run != 'true' }}
if: ${{ matrix.dry-run != true }}
shell: bash
- run: "! dart --version"
if: ${{ matrix.dry-run == 'true' }}
if: ${{ matrix.dry-run == true }}
shell: bash
- run: "! flutter --version"
if: ${{ matrix.dry-run == 'true' }}
if: ${{ matrix.dry-run == true }}
shell: bash

test_cache:
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ runs:
- name: Run setup script
shell: bash
if: ${{ inputs.dry-run != 'true' }}
if: ${{ inputs.dry-run != 'true' && inputs.dry-run != true }}
run: |
$GITHUB_ACTION_PATH/setup.sh \
-n '${{ steps.flutter-action.outputs.VERSION }}' \
Expand Down

0 comments on commit bd9e149

Please sign in to comment.