Skip to content

Commit b649284

Browse files
committed
ci: Fix if/else check in workflow file
1 parent 8a9ba6e commit b649284

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/dependency_compatibility_test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232

3333
# Run in the root module which should test for everything barring showcase
3434
- name: Perform Dependency Compatibility Testing
35+
shell: bash
3536
run: |
36-
if [ -z ${{ github.event.inputs.dependencies-list }} ]
37+
if [[ -z ${{ github.event.inputs.dependencies-list }} ]]
3738
./.github/scripts/test_dependency_compatibility.sh -f dependencies.txt
3839
else
3940
./.github/scripts/test_dependency_compatibility.sh -l ${{ github.event.inputs.dependencies-list }}
@@ -53,8 +54,9 @@ jobs:
5354
cd -
5455
# Run for the Showcase tests
5556
- name: Perform Dependency Compatibility Testing (Showcase)
57+
shell: bash
5658
run: |
57-
if [ -z ${{ github.event.inputs.dependencies-list }} ]
59+
if [[ -z ${{ github.event.inputs.dependencies-list }} ]]
5860
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
5961
else
6062
../.github/scripts/test_dependency_compatibility.sh -l ${{ github.event.inputs.dependencies-list }}

0 commit comments

Comments
 (0)