diff --git a/.github/workflows/test-ios-simulator-webview.yaml b/.github/workflows/test-ios-simulator-webview.yaml index 1c08fad9f..dbbf59bb1 100644 --- a/.github/workflows/test-ios-simulator-webview.yaml +++ b/.github/workflows/test-ios-simulator-webview.yaml @@ -63,6 +63,7 @@ jobs: for target in $(echo $TESTS_TO_INCLUDE | tr ',' '\n'); do target_paths+="integration_test/${target}.dart," done + target_paths="${target_paths%,}" echo "INCLUDED_TESTS=$target_paths" >> "$GITHUB_ENV" diff --git a/.github/workflows/test-ios-simulator.yaml b/.github/workflows/test-ios-simulator.yaml index 9cefecf43..556affeb0 100644 --- a/.github/workflows/test-ios-simulator.yaml +++ b/.github/workflows/test-ios-simulator.yaml @@ -74,6 +74,7 @@ jobs: for target in $(echo $TESTS_TO_EXCLUDE | tr ',' '\n'); do target_paths+="integration_test/${target}.dart," done + target_paths="${target_paths%,}" echo "EXCLUDED_TESTS=$TESTS_TO_EXCLUDE" >> "$GITHUB_OUTPUT" echo "EXCLUDED_TESTS=$target_paths" >> "$GITHUB_ENV"