Compare commits

..

No commits in common. "main" and "v4.6.3" have entirely different histories.
main ... v4.6.3

12 changed files with 124 additions and 153 deletions

View File

@ -14,8 +14,7 @@
"env": { "env": {
"node": true, "node": true,
"es6": true, "es6": true,
"jest/globals": true, "jest/globals": true
"es2020": true
}, },
"rules": { "rules": {
// Error out for code formatting errors // Error out for code formatting errors

View File

@ -115,7 +115,6 @@ namespace UnityBuilderAction.Input
} }
} }
#if UNITY_6000_0_OR_NEWER
private static void SetDebugSymbols(string enumValueName) private static void SetDebugSymbols(string enumValueName)
{ {
// UnityEditor.Android.UserBuildSettings and Unity.Android.Types.DebugSymbolLevel are part of the Unity Android module. // UnityEditor.Android.UserBuildSettings and Unity.Android.Types.DebugSymbolLevel are part of the Unity Android module.
@ -145,6 +144,5 @@ namespace UnityBuilderAction.Input
} }
levelProp.SetValue(null, enumValue); levelProp.SetValue(null, enumValue);
} }
#endif
} }
} }

132
dist/index.js generated vendored
View File

@ -6111,7 +6111,6 @@ class Docker {
--workdir c:${dockerWorkspacePath} \ --workdir c:${dockerWorkspacePath} \
--rm \ --rm \
${image_environment_factory_1.default.getEnvVarString(parameters)} \ ${image_environment_factory_1.default.getEnvVarString(parameters)} \
--env BEE_CACHE_DIRECTORY=c:${dockerWorkspacePath}/Library/bee_cache \
--env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \ --env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \
${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \ ${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \
--volume "${workspace}":"c:${dockerWorkspacePath}" \ --volume "${workspace}":"c:${dockerWorkspacePath}" \
@ -362277,27 +362276,17 @@ exports.UnityChangeset = unityChangeset_js_1.UnityChangeset;
/** /**
* Retrieves the Unity changeset for a specific version. * Retrieves the Unity changeset for a specific version.
* @param version - The Unity version string (e.g., "2020.1.14f1"). * @param version - The Unity version string (e.g., "2020.1.14f1").
* @param db - Optional database URL or true to use the default database.
* @returns A Promise that resolves to the UnityChangeset object. * @returns A Promise that resolves to the UnityChangeset object.
* @throws Error if the version is not found. * @throws Error if the version is not found.
*/ */
async function getUnityChangeset(version, db) { async function getUnityChangeset(version) {
const sanitizedVersion = (0, utils_js_1.sanitizeVersion)(version); const sanitizedVersion = (0, utils_js_1.sanitizeVersion)(version);
let changesets; let changesets;
// Database mode. try {
if (db) { changesets = await (0, unityGraphQL_js_1.getUnityReleases)(sanitizedVersion, []);
const dbUrl = db === true ? UNITY_CHANGESETS_DB_URL : db;
changesets = await getAllChangesetsFromDb(dbUrl);
} }
else { catch {
// GraphQL mode. changesets = await getAllChangesetsFromDb();
try {
changesets = await (0, unityGraphQL_js_1.getUnityReleases)(sanitizedVersion, (0, utils_js_1.searchModeToStreams)(SearchMode.All), [unityChangeset_js_1.UnityReleaseEntitlement.XLTS]);
}
catch {
// Fallback to default database mode.
changesets = await getAllChangesetsFromDb(UNITY_CHANGESETS_DB_URL);
}
} }
if (!changesets || !Array.isArray(changesets)) { if (!changesets || !Array.isArray(changesets)) {
throw new Error("Failed to retrieve changesets"); throw new Error("Failed to retrieve changesets");
@ -362322,7 +362311,8 @@ var SearchMode;
SearchMode[SearchMode["Default"] = 2] = "Default"; SearchMode[SearchMode["Default"] = 2] = "Default";
SearchMode[SearchMode["PreRelease"] = 3] = "PreRelease"; SearchMode[SearchMode["PreRelease"] = 3] = "PreRelease";
SearchMode[SearchMode["LTS"] = 4] = "LTS"; SearchMode[SearchMode["LTS"] = 4] = "LTS";
SearchMode[SearchMode["Supported"] = 6] = "Supported"; SearchMode[SearchMode["XLTS"] = 5] = "XLTS";
SearchMode[SearchMode["SUPPORTED"] = 6] = "SUPPORTED";
})(SearchMode || (exports.SearchMode = SearchMode = {})); })(SearchMode || (exports.SearchMode = SearchMode = {}));
/* /*
* Group mode. * Group mode.
@ -362372,11 +362362,10 @@ var FormatMode;
* @param groupMode - The group mode to use. * @param groupMode - The group mode to use.
* @param outputMode - The output mode for the results. * @param outputMode - The output mode for the results.
* @param formatMode - The format mode for the output. * @param formatMode - The format mode for the output.
* @param db - Optional database URL or true to use the default database.
* @returns A Promise that resolves to a formatted string of the results. * @returns A Promise that resolves to a formatted string of the results.
*/ */
function listChangesets(searchMode, filterOptions, groupMode, outputMode, formatMode, db) { function listChangesets(searchMode, filterOptions, groupMode, outputMode, formatMode) {
return searchChangesets(searchMode, db) return searchChangesets(searchMode)
.then((results) => filterChangesets(results, filterOptions)) .then((results) => filterChangesets(results, filterOptions))
.then((results) => results.sort((a, b) => b.versionNumber - a.versionNumber)) .then((results) => results.sort((a, b) => b.versionNumber - a.versionNumber))
.then((results) => groupChangesets(results, groupMode)) .then((results) => groupChangesets(results, groupMode))
@ -362409,24 +362398,27 @@ exports.listChangesets = listChangesets;
/** /**
* Searches for Unity changesets based on the specified search mode. * Searches for Unity changesets based on the specified search mode.
* @param searchMode - The search mode to use. * @param searchMode - The search mode to use.
* @param db - Optional database URL or true to use the default database.
* @returns A Promise that resolves to an array of UnityChangeset objects. * @returns A Promise that resolves to an array of UnityChangeset objects.
* @throws Error if the search mode is not supported. * @throws Error if the search mode is not supported.
*/ */
async function searchChangesets(searchMode, db) { async function searchChangesets(searchMode) {
const streams = (0, utils_js_1.searchModeToStreams)(searchMode);
// Database mode.
if (db) {
const dbUrl = db === true ? UNITY_CHANGESETS_DB_URL : db;
return searchChangesetsFromDb(streams, dbUrl);
}
try { try {
// GraphQL mode. switch (searchMode) {
return await (0, unityGraphQL_js_1.getUnityReleases)(".", streams, [unityChangeset_js_1.UnityReleaseEntitlement.XLTS]); case SearchMode.All:
case SearchMode.Default:
case SearchMode.PreRelease:
case SearchMode.SUPPORTED:
return await (0, unityGraphQL_js_1.getUnityReleases)(".", (0, utils_js_1.searchModeToStreams)(searchMode));
case SearchMode.LTS:
return await (0, unityGraphQL_js_1.getUnityReleasesInLTS)();
case SearchMode.XLTS:
return await (0, unityGraphQL_js_1.getUnityReleasesInLTS)([unityChangeset_js_1.UnityReleaseEntitlement.XLTS]);
default:
throw Error(`The given search mode '${searchMode}' was not supported`);
}
} }
catch { catch {
// Fallback to default database mode. return await searchChangesetsFromDb(searchMode);
return await searchChangesetsFromDb(streams, UNITY_CHANGESETS_DB_URL);
} }
} }
exports.searchChangesets = searchChangesets; exports.searchChangesets = searchChangesets;
@ -362458,7 +362450,7 @@ function filterChangesets(changesets, options) {
: Object.values((0, utils_js_1.groupBy)(changesets, (r) => r.minor)).map((g) => g[0]); : Object.values((0, utils_js_1.groupBy)(changesets, (r) => r.minor)).map((g) => g[0]);
return changesets.filter((c) => min <= c.versionNumber && return changesets.filter((c) => min <= c.versionNumber &&
c.versionNumber <= max && c.versionNumber <= max &&
(options.xlts || !c.xlts) && // Include XLTS? (!options.lts || c.lts) &&
(!regex || regex.test(c.version)) && (!regex || regex.test(c.version)) &&
(!lc || lc.some((l) => l.minor == c.minor && l.lifecycle == c.lifecycle))); (!lc || lc.some((l) => l.minor == c.minor && l.lifecycle == c.lifecycle)));
} }
@ -362495,15 +362487,13 @@ function groupChangesets(changesets, groupMode) {
exports.groupChangesets = groupChangesets; exports.groupChangesets = groupChangesets;
/** /**
* Retrieves all Unity changesets from the database. * Retrieves all Unity changesets from the database.
* @param db - Database URL. If not specified, use the default database.
* @returns A Promise that resolves to an array of all UnityChangeset objects from the database. * @returns A Promise that resolves to an array of all UnityChangeset objects from the database.
* @throws Error if the database cannot be fetched or is invalid. * @throws Error if the database cannot be fetched or is invalid.
*/ */
function getAllChangesetsFromDb(db = UNITY_CHANGESETS_DB_URL) { function getAllChangesetsFromDb() {
return fetch(db) return fetch(UNITY_CHANGESETS_DB_URL)
.then(async (res) => { .then((res) => {
if (!res.ok) { if (!res.ok) {
await res.text(); // Consume the response body to avoid leaks
throw Error(`The Unity changeset database could not be fetched: ${res.status} ${res.statusText}`); throw Error(`The Unity changeset database could not be fetched: ${res.status} ${res.statusText}`);
} }
return res.json(); return res.json();
@ -362512,24 +362502,26 @@ function getAllChangesetsFromDb(db = UNITY_CHANGESETS_DB_URL) {
if (!Array.isArray(data)) { if (!Array.isArray(data)) {
throw new Error("Invalid changeset database format: expected array"); throw new Error("Invalid changeset database format: expected array");
} }
return data.map((item) => new exports.UnityChangeset(item.version, item.changeset, item.stream, item.entitlements)); return data;
}); });
} }
exports.getAllChangesetsFromDb = getAllChangesetsFromDb; exports.getAllChangesetsFromDb = getAllChangesetsFromDb;
/** /**
* Searches for Unity changesets from the database based on the specified search mode. * Searches for Unity changesets from the database based on the specified search mode.
* @param streams - The array of release streams to filter by. * @param searchMode - The search mode to use.
* @param db - Database URL. If not specified, use the default database.
* @returns A Promise that resolves to an array of UnityChangeset objects from the database. * @returns A Promise that resolves to an array of UnityChangeset objects from the database.
*/ */
function searchChangesetsFromDb(streams, db = UNITY_CHANGESETS_DB_URL) { function searchChangesetsFromDb(searchMode) {
return getAllChangesetsFromDb(db) return getAllChangesetsFromDb()
.then((changesets) => { .then((changesets) => {
if (!changesets || !Array.isArray(changesets)) if (!changesets || !Array.isArray(changesets))
return []; return [];
if (changesets.length == 0) if (changesets.length == 0)
return []; return [];
return changesets.filter((c) => streams.includes(c.stream)); const streams = (0, utils_js_1.searchModeToStreams)(searchMode);
return searchMode === SearchMode.XLTS
? changesets.filter((c) => streams.includes(c.stream))
: changesets.filter((c) => streams.includes(c.stream) && !c.xlts);
}); });
} }
exports.searchChangesetsFromDb = searchChangesetsFromDb; exports.searchChangesetsFromDb = searchChangesetsFromDb;
@ -362697,7 +362689,7 @@ Object.defineProperty(UnityChangeset, "toNumber", {
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", ({ value: true })); Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getUnityReleases = void 0; exports.getUnityReleasesInLTS = exports.getUnityReleases = void 0;
const unityChangeset_js_1 = __nccwpck_require__(52758); const unityChangeset_js_1 = __nccwpck_require__(52758);
const graphql_request_1 = __nccwpck_require__(5406); const graphql_request_1 = __nccwpck_require__(5406);
const UNITY_GRAPHQL_ENDPOINT = "https://services.unity.com/graphql"; const UNITY_GRAPHQL_ENDPOINT = "https://services.unity.com/graphql";
@ -362807,6 +362799,53 @@ query GetRelease($limit: Int, $skip: Int, $version: String!, $stream: [UnityRele
return results; return results;
} }
exports.getUnityReleases = getUnityReleases; exports.getUnityReleases = getUnityReleases;
/**
* Retrieves Unity releases in LTS from the GraphQL API based on entitlements.
* @param entitlements - The array of entitlements to filter by.
* @returns A Promise that resolves to an array of UnityChangeset objects.
* @throws Error if the API response is invalid.
*/
async function getUnityReleasesInLTS(entitlements = []) {
const client = new graphql_request_1.GraphQLClient(UNITY_GRAPHQL_ENDPOINT);
const query = (0, graphql_request_1.gql) `
query GetReleaseMajorVersions($entitlements: [UnityReleaseEntitlement!])
{
getUnityReleaseMajorVersions(
stream: []
platform: []
architecture: []
entitlements: $entitlements
) {
version
}
}
`;
const variables = {
entitlements: entitlements,
};
const cacheKey = getCacheKey(query, variables);
let data;
const cached = cache.get(cacheKey);
if (cached && isCacheValid(cached.timestamp)) {
data = cached.data;
}
else {
data = await requestWithErrorHandling(client, query, variables);
cache.set(cacheKey, { data, timestamp: Date.now() });
}
if (!data.getUnityReleaseMajorVersions) {
throw new Error("Invalid response from Unity GraphQL API: missing getUnityReleaseMajorVersions");
}
const results = await Promise.all(data.getUnityReleaseMajorVersions
.map(async (v) => {
if (!v.version) {
throw new Error("Invalid response from Unity GraphQL API: missing version in major versions");
}
return await getUnityReleases(v.version, [unityChangeset_js_1.UnityReleaseStream.LTS], entitlements);
}));
return results.flat();
}
exports.getUnityReleasesInLTS = getUnityReleasesInLTS;
/***/ }), /***/ }),
@ -362853,10 +362892,11 @@ function searchModeToStreams(searchMode) {
unityChangeset_js_1.UnityReleaseStream.BETA, unityChangeset_js_1.UnityReleaseStream.BETA,
]; ];
case index_js_1.SearchMode.LTS: case index_js_1.SearchMode.LTS:
case index_js_1.SearchMode.XLTS:
return [ return [
unityChangeset_js_1.UnityReleaseStream.LTS, unityChangeset_js_1.UnityReleaseStream.LTS,
]; ];
case index_js_1.SearchMode.Supported: case index_js_1.SearchMode.SUPPORTED:
return [ return [
unityChangeset_js_1.UnityReleaseStream.SUPPORTED, unityChangeset_js_1.UnityReleaseStream.SUPPORTED,
]; ];

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -4,69 +4,21 @@
echo "Changing to \"$ACTIVATE_LICENSE_PATH\" directory." echo "Changing to \"$ACTIVATE_LICENSE_PATH\" directory."
pushd "$ACTIVATE_LICENSE_PATH" pushd "$ACTIVATE_LICENSE_PATH"
if [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then echo "Requesting activation"
#
# SERIAL LICENSE MODE
#
# This will activate unity, using the serial activation process.
#
echo "Requesting activation" # Activate license
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \
-logFile - \
-batchmode \
-nographics \
-quit \
-serial "$UNITY_SERIAL" \
-username "$UNITY_EMAIL" \
-password "$UNITY_PASSWORD" \
-projectPath "$ACTIVATE_LICENSE_PATH"
# Activate license # Store the exit code from the verify command
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \ UNITY_EXIT_CODE=$?
-logFile - \
-batchmode \
-nographics \
-quit \
-serial "$UNITY_SERIAL" \
-username "$UNITY_EMAIL" \
-password "$UNITY_PASSWORD" \
-projectPath "$ACTIVATE_LICENSE_PATH"
# Store the exit code from the verify command
UNITY_EXIT_CODE=$?
elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then
#
# Custom Unity License Server
#
echo "Adding licensing server config"
mkdir -p "$UNITY_LICENSE_PATH/config/"
cp "$ACTION_FOLDER/unity-config/services-config.json" "$UNITY_LICENSE_PATH/config/services-config.json"
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/MacOS/Unity.Licensing.Client \
--acquire-floating > license.txt
# Store the exit code from the verify command
UNITY_EXIT_CODE=$?
if [ $UNITY_EXIT_CODE -eq 0 ]; then
PARSEDFILE=$(grep -oE '\"[^"]*\"' < license.txt | tr -d '"')
export FLOATING_LICENSE
FLOATING_LICENSE=$(sed -n 2p <<< "$PARSEDFILE")
FLOATING_LICENSE_TIMEOUT=$(sed -n 4p <<< "$PARSEDFILE")
echo "Acquired floating license: \"$FLOATING_LICENSE\" with timeout $FLOATING_LICENSE_TIMEOUT"
fi
else
#
# NO LICENSE ACTIVATION STRATEGY MATCHED
#
# This will exit since no activation strategies could be matched.
#
echo "License activation strategy could not be determined."
echo ""
echo "Visit https://game.ci/docs/github/activation for more"
echo "details on how to set up one of the possible activation strategies."
echo "::error ::No valid license activation strategy could be determined. Make sure to provide UNITY_EMAIL, UNITY_PASSWORD, and either a UNITY_SERIAL \
or UNITY_LICENSE. Otherwise please use UNITY_LICENSING_SERVER. See more info at https://game.ci/docs/github/activation"
# Immediately exit as no UNITY_EXIT_CODE can be derived.
exit 1;
fi
# #
# Display information about the result # Display information about the result

View File

@ -149,6 +149,8 @@ echo ""
$( [ "${MANUAL_EXIT}" == "true" ] || echo "-quit" ) \ $( [ "${MANUAL_EXIT}" == "true" ] || echo "-quit" ) \
-batchmode \ -batchmode \
$( [ "${ENABLE_GPU}" == "true" ] || echo "-nographics" ) \ $( [ "${ENABLE_GPU}" == "true" ] || echo "-nographics" ) \
-username "$UNITY_EMAIL" \
-password "$UNITY_PASSWORD" \
-customBuildName "$BUILD_NAME" \ -customBuildName "$BUILD_NAME" \
-projectPath "$UNITY_PROJECT_PATH" \ -projectPath "$UNITY_PROJECT_PATH" \
$( [ -z "$BUILD_PROFILE" ] && echo "-buildTarget $BUILD_TARGET") \ $( [ -z "$BUILD_PROFILE" ] && echo "-buildTarget $BUILD_TARGET") \

View File

@ -4,29 +4,15 @@
echo "Changing to \"$ACTIVATE_LICENSE_PATH\" directory." echo "Changing to \"$ACTIVATE_LICENSE_PATH\" directory."
pushd "$ACTIVATE_LICENSE_PATH" pushd "$ACTIVATE_LICENSE_PATH"
if [[ -n "$UNITY_LICENSING_SERVER" ]]; then /Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \
# -logFile - \
# Return any floating license used. -batchmode \
# -nographics \
echo "Returning floating license: \"$FLOATING_LICENSE\"" -quit \
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/MacOS/Unity.Licensing.Client \ -username "$UNITY_EMAIL" \
--return-floating "$FLOATING_LICENSE" -password "$UNITY_PASSWORD" \
elif [[ -n "$UNITY_SERIAL" ]]; then -returnlicense \
# -projectPath "$ACTIVATE_LICENSE_PATH"
# SERIAL LICENSE MODE
#
# This will return the license that is currently in use.
#
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \
-logFile - \
-batchmode \
-nographics \
-quit \
-username "$UNITY_EMAIL" \
-password "$UNITY_PASSWORD" \
-returnlicense \
-projectPath "$ACTIVATE_LICENSE_PATH"
fi
# Return to previous working directory # Return to previous working directory
popd popd

View File

@ -68,18 +68,14 @@ elif [[ -n "$UNITY_LICENSING_SERVER" ]]; then
echo "Adding licensing server config" echo "Adding licensing server config"
/opt/unity/Editor/Data/Resources/Licensing/Client/Unity.Licensing.Client --acquire-floating > license.txt #is this accessible in a env variable? /opt/unity/Editor/Data/Resources/Licensing/Client/Unity.Licensing.Client --acquire-floating > license.txt #is this accessible in a env variable?
PARSEDFILE=$(grep -oP '\".*?\"' < license.txt | tr -d '"')
export FLOATING_LICENSE
FLOATING_LICENSE=$(sed -n 2p <<< "$PARSEDFILE")
FLOATING_LICENSE_TIMEOUT=$(sed -n 4p <<< "$PARSEDFILE")
echo "Acquired floating license: \"$FLOATING_LICENSE\" with timeout $FLOATING_LICENSE_TIMEOUT"
# Store the exit code from the verify command # Store the exit code from the verify command
UNITY_EXIT_CODE=$? UNITY_EXIT_CODE=$?
if [ $UNITY_EXIT_CODE -eq 0 ]; then
PARSEDFILE=$(grep -oP '\".*?\"' < license.txt | tr -d '"')
export FLOATING_LICENSE
FLOATING_LICENSE=$(sed -n 2p <<< "$PARSEDFILE")
FLOATING_LICENSE_TIMEOUT=$(sed -n 4p <<< "$PARSEDFILE")
echo "Acquired floating license: \"$FLOATING_LICENSE\" with timeout $FLOATING_LICENSE_TIMEOUT"
fi
else else
# #
# NO LICENSE ACTIVATION STRATEGY MATCHED # NO LICENSE ACTIVATION STRATEGY MATCHED

View File

@ -44,13 +44,14 @@
"base-64": "^1.0.0", "base-64": "^1.0.0",
"commander": "^9.0.0", "commander": "^9.0.0",
"commander-ts": "^0.2.0", "commander-ts": "^0.2.0",
"graphql": "^16.11.0",
"kubernetes-client": "^9.0.0", "kubernetes-client": "^9.0.0",
"md5": "^2.3.0", "md5": "^2.3.0",
"nanoid": "^3.3.1", "nanoid": "^3.3.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"semver": "^7.5.2", "semver": "^7.5.2",
"ts-md5": "^1.3.1", "ts-md5": "^1.3.1",
"unity-changeset": "^3.1.0", "unity-changeset": "^3.0.0",
"uuid": "^9.0.0", "uuid": "^9.0.0",
"yaml": "^2.2.2" "yaml": "^2.2.2"
}, },

View File

@ -17,7 +17,6 @@ describe('Cloud Runner Github Checks', () => {
status: 200, status: 200,
data: {}, data: {},
}); });
// eslint-disable-next-line unicorn/no-useless-undefined
jest.spyOn(GitHub as any, 'runUpdateAsyncChecksWorkflow').mockResolvedValue(undefined); jest.spyOn(GitHub as any, 'runUpdateAsyncChecksWorkflow').mockResolvedValue(undefined);
}); });

View File

@ -107,7 +107,6 @@ class Docker {
--workdir c:${dockerWorkspacePath} \ --workdir c:${dockerWorkspacePath} \
--rm \ --rm \
${ImageEnvironmentFactory.getEnvVarString(parameters)} \ ${ImageEnvironmentFactory.getEnvVarString(parameters)} \
--env BEE_CACHE_DIRECTORY=c:${dockerWorkspacePath}/Library/bee_cache \
--env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \ --env GITHUB_WORKSPACE=c:${dockerWorkspacePath} \
${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \ ${gitPrivateToken ? `--env GIT_PRIVATE_TOKEN="${gitPrivateToken}"` : ''} \
--volume "${workspace}":"c:${dockerWorkspacePath}" \ --volume "${workspace}":"c:${dockerWorkspacePath}" \

View File

@ -4818,7 +4818,7 @@ graphql-request@6.1.0:
"@graphql-typed-document-node/core" "^3.2.0" "@graphql-typed-document-node/core" "^3.2.0"
cross-fetch "^3.1.5" cross-fetch "^3.1.5"
graphql@^16.8.1: graphql@^16.11.0:
version "16.11.0" version "16.11.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.11.0.tgz#96d17f66370678027fdf59b2d4c20b4efaa8a633" resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.11.0.tgz#96d17f66370678027fdf59b2d4c20b4efaa8a633"
integrity sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw== integrity sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==
@ -7681,13 +7681,12 @@ undici@^5.25.4:
dependencies: dependencies:
"@fastify/busboy" "^2.0.0" "@fastify/busboy" "^2.0.0"
unity-changeset@^3.1.0: unity-changeset@^3.0.0:
version "3.1.0" version "3.0.0"
resolved "https://registry.yarnpkg.com/unity-changeset/-/unity-changeset-3.1.0.tgz#7217915b995f1c441d8bdb1045c45c09f64ca94a" resolved "https://registry.yarnpkg.com/unity-changeset/-/unity-changeset-3.0.0.tgz#2a201ab76646a9c2d11aca3023108ddf2fbd4d77"
integrity sha512-bFqaq3yuxeMROwqw81fi6S2f8l+4lracvnW8SkdJLGDx+QvWxQhjK4LsGYM19/plDDh7q3MwEbzQgmcqj5uxBg== integrity sha512-NayBfB+Olb9UosItzonJKrvW7S7KQQ+sbz0dyHuAjT55jt8v7umtfk6pf/rvQziOdVUfk9ndwXdpuGJADD5+iA==
dependencies: dependencies:
"@deno/shim-deno" "~0.18.0" "@deno/shim-deno" "~0.18.0"
graphql "^16.8.1"
graphql-request "6.1.0" graphql-request "6.1.0"
universal-user-agent@^6.0.0: universal-user-agent@^6.0.0: