Skip to content

Commit e3f92c0

Browse files
committed
chore: Fix CI
1 parent 26105ac commit e3f92c0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/dependency_compatibility_test.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ jobs:
3838
- name: Perform Dependency Compatibility Testing
3939
shell: bash
4040
run: |
41-
if [[ ${{ env.DEPENDENCIES_LIST }} == '' ]]; then
42-
./.github/scripts/test_dependency_compatibility.sh -f dependencies.txt
43-
else
41+
echo "Dependencies list: ${env.DEPENDENCIES_LIST}"
42+
if [[ -n "${{ env.DEPENDENCIES_LIST }}" ]]; then
4443
./.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
44+
else
45+
./.github/scripts/test_dependency_compatibility.sh -f dependencies.txt
4546
fi
4647
# Set up local showcase server
4748
- name: Parse showcase version
@@ -60,9 +61,10 @@ jobs:
6061
- name: Perform Dependency Compatibility Testing (Showcase)
6162
shell: bash
6263
run: |
63-
if [[ ${{ env.DEPENDENCIES_LIST }} == '' ]]; then
64-
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
65-
else
64+
echo "Dependencies list: ${env.DEPENDENCIES_LIST}"
65+
if [[ -n "${{ env.DEPENDENCIES_LIST }}" ]]; then
6666
../.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
67+
else
68+
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
6769
fi
6870
working-directory: java-showcase

0 commit comments

Comments
 (0)