mirror of
https://github.com/game-ci/unity-test-runner.git
synced 2026-02-04 19:29:06 +08:00
add string interpolation to key
This commit is contained in:
2
dist/steps/run_tests.sh
vendored
2
dist/steps/run_tests.sh
vendored
@@ -61,7 +61,7 @@ if [ "$PACKAGE_MODE" = "true" ]; then
|
||||
jq \
|
||||
--arg packageName "$PACKAGE_NAME" \
|
||||
--arg projectPath "$UNITY_PROJECT_PATH" \
|
||||
'.dependencies += {$packageName: "file\($projectPath)"} | . += {testables: ["\($packageName)"]}' \
|
||||
'.dependencies += {"\($packageName)": "file:\($projectPath)"} | . += {testables: ["\($packageName)"]}' \
|
||||
> "$PACKAGE_MANIFEST_PATH"
|
||||
|
||||
cat "$PACKAGE_MANIFEST_PATH"
|
||||
|
||||
Reference in New Issue
Block a user