Skip to content

Commit

Permalink
fix: multiple scopes
Browse files Browse the repository at this point in the history
nvandessel committed Feb 29, 2024
1 parent aad02cc commit f6f85b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/platforms/ubuntu/run_tests.sh
Original file line number Diff line number Diff line change
@@ -100,11 +100,11 @@ if [ "$PACKAGE_MODE" = "true" ]; then
--arg packageName "$PACKAGE_NAME" \
--arg projectPath "$UNITY_PROJECT_PATH" \
--arg scopedRegistryUrl "$SCOPED_REGISTRY_URL" \
--arg registryScopes "$REGISTRY_SCOPES" \
--argjson registryScopes "$(echo "[\"$REGISTRY_SCOPES\"]" | sed 's/,/","/g')" \
'.dependencies += {"com.unity.testtools.codecoverage": "1.1.1"} |
.dependencies += {"\($packageName)": "file:\($projectPath)"} |
. += {testables: ["\($packageName)"]} |
. += {scopedRegistries: [{"name":"dependency", "url":"\($scopedRegistryUrl)", scopes: ["\($registryScopes)"]}] }' \
. += {scopedRegistries: [{"name":"dependency", "url":"\($scopedRegistryUrl)", scopes: $registryScopes}] }' \
> "$PACKAGE_MANIFEST_PATH"

UNITY_PROJECT_PATH="$TEMP_PROJECT_PATH"

0 comments on commit f6f85b9

Please sign in to comment.