@@ -185,13 +185,16 @@ export function getJSExample(operation: Operation, codeSample: CodeSample) {
|
||||
|
||||
let queryParameters = ''
|
||||
|
||||
// Add query parameters to the request path for POST, PUT, DELETE, GET, operations in
|
||||
// URL template format e.g. 'POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}'
|
||||
// Query parameters are set automatically for GET and HEAD requests, we
|
||||
// otherwise have to handle it ourselves for other request methods by adding
|
||||
// the parameters to the request path in URL template format e.g.:
|
||||
//
|
||||
// 'POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}'
|
||||
if (
|
||||
operation.verb === 'post' ||
|
||||
operation.verb === 'put' ||
|
||||
operation.verb === 'delete' ||
|
||||
operation.verb === 'get'
|
||||
operation.verb === 'patch' ||
|
||||
operation.verb === 'post' ||
|
||||
operation.verb === 'put'
|
||||
) {
|
||||
const queryParams = operation.parameters
|
||||
.filter((param) => {
|
||||
|
||||
@@ -95,6 +95,8 @@ You cannot change the contents of an existing cache. Instead, you can create a n
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
- `enableCrossOsArchive`: **Optional** A boolean value that when enabled, allows Windows runners to save or restore caches independent of the operating system the cache was created on. If this parameter is not set, it defaults to `false`. For more information, see [Cross OS cache](https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cross-os-cache) in the Actions Cache documentation.
|
||||
|
||||
### Output parameters for the `cache` action
|
||||
|
||||
- `cache-hit`: A boolean value to indicate an exact match was found for the key.
|
||||
|
||||
@@ -16,9 +16,6 @@ shortTitle: Set up
|
||||
|
||||
This guide shows you how your team can get {% data variables.product.prodname_vs %} subscribers licensed and started with {% data variables.product.prodname_enterprise %}.
|
||||
|
||||
If you prefer video, you can watch [Setting up your {% data variables.product.prodname_enterprise %} licenses with {% data variables.product.prodname_vs %} subscriptions](https://www.youtube.com/watch?v=P_zBgp_BE_I) on
|
||||
Microsoft Visual Studio's YouTube channel.
|
||||
|
||||
## Roles for {% data variables.visual_studio.prodname_vss_ghe %}
|
||||
|
||||
Before setting up {% data variables.visual_studio.prodname_vss_ghe %}, it's important to understand the roles for this combined offering.
|
||||
@@ -35,7 +32,7 @@ Before setting up {% data variables.visual_studio.prodname_vss_ghe %}, it's impo
|
||||
|
||||
- Your team's {% data variables.product.prodname_vs %} subscription must include {% data variables.product.prodname_enterprise %}. For more information, see [{% data variables.product.prodname_vs %} Subscriptions and Benefits](https://visualstudio.microsoft.com/subscriptions/) on the {% data variables.product.prodname_vs %} website and
|
||||
[Overview of admin responsibilities](https://docs.microsoft.com/en-us/visualstudio/subscriptions/admin-responsibilities) in Microsoft Docs.
|
||||
|
||||
|
||||
- Your team must have an enterprise on {% data variables.location.product_location %}. If you're not sure whether your team has an enterprise, contact your {% data variables.product.prodname_dotcom %} administrator. If you're not sure who on your team is responsible for {% data variables.product.prodname_dotcom %}, contact {% data variables.contact.contact_enterprise_sales %}. For more information, see "[About enterprise accounts](/admin/overview/about-enterprise-accounts)."
|
||||
|
||||
## Setting up {% data variables.visual_studio.prodname_vss_ghe %}
|
||||
|
||||
Reference in New Issue
Block a user