mirror of
https://github.com/game-ci/unity-test-runner.git
synced 2026-01-29 06:20:07 +08:00
try renaming jq args
This commit is contained in:
6
dist/steps/run_tests.sh
vendored
6
dist/steps/run_tests.sh
vendored
@@ -58,8 +58,10 @@ if [ "$PACKAGE_MODE" = "true" ]; then
|
||||
|
||||
PACKAGE_MANIFEST_JSON=$(cat "$PACKAGE_MANIFEST_PATH")
|
||||
echo "$PACKAGE_MANIFEST_JSON" | \
|
||||
jq --arg package_name "$PACKAGE_NAME" --arg project_path "$UNITY_PROJECT_PATH" \
|
||||
'.dependencies += {"$package_name": "file:$project_path"} | . += {"testables": ["$package_name"]}' \
|
||||
jq \
|
||||
--arg packageName "$PACKAGE_NAME" \
|
||||
--arg projectPath "$UNITY_PROJECT_PATH" \
|
||||
'.dependencies += {"$packageName": "file:$projectPath"} | . += {"testables": ["$packageName"]}' \
|
||||
> "$PACKAGE_MANIFEST_PATH"
|
||||
|
||||
cat "$PACKAGE_MANIFEST_PATH"
|
||||
|
||||
Reference in New Issue
Block a user