Skip to content

Commit

Permalink
ci: fix if check
Browse files Browse the repository at this point in the history
Signed-off-by: Lenin Mehedy <lenin.mehedy@swirldslabs.com>
  • Loading branch information
leninmehedy committed Jan 26, 2024
1 parent 96d8ee0 commit 68ebf98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/zxc-compile-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
echo " - ${file} was changed"
done
echo ""
if [ "${{ steps.changed-files.outputs.source_any_changed }}" ]; then
if [ "${{ steps.changed-files.outputs.source_any_changed }}" == "true" ]; then
echo "files-changed=true" >> "${GITHUB_OUTPUT}"
echo "Enabled execution of java unit tests...."
else
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zxc-fsnetman-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
echo " - ${file} was changed"
done
echo ""
if [ "${{ steps.changed-files.outputs.any_changed }}" ]; then
if [ "${{ steps.changed-files.outputs.any_changed }}" == "true" ]; then
echo "run-tests=true" >> "${GITHUB_OUTPUT}"
echo "Executing fsnetman tests...."
else
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zxc-helm-chart-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
echo " - ${file} was changed"
done
echo ""
if [ "${{ steps.changed-files.outputs.scripts_any_changed }}" ] || [ "${{ steps.changed-files.outputs.scripts_any_changed }}" ]; then
if [ "${{ steps.changed-files.outputs.scripts_any_changed }}" == "true" ] || [ "${{ steps.changed-files.outputs.scripts_any_changed }}" == "true" ]; then
echo "run-tests=true" >> "${GITHUB_OUTPUT}"
echo "Executing helm chart tests...."
else
Expand Down

0 comments on commit 68ebf98

Please sign in to comment.