We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ddf6be commit 606099bCopy full SHA for 606099b
1 file changed
src/caching/github-actions-cache.ts
@@ -448,9 +448,7 @@ export class GitHubActionsCache implements Cache {
448
return request(url, {
449
...options,
450
headers: {
451
- // https://github.com/actions/toolkit/blob/500d0b42fee2552ae9eeb5933091fe2fbf14e72d/packages/cache/src/internal/cacheHttpClient.ts#L55
452
- // TODO(aomarks) What's the right new accept for v2?
453
- accept: 'application/json;api-version=6.0-preview.1',
+ accept: 'application/json',
454
// https://github.com/actions/toolkit/blob/500d0b42fee2552ae9eeb5933091fe2fbf14e72d/packages/http-client/src/auth.ts#L46
455
authorization: `Bearer ${this.#authToken}`,
456
...options?.headers,
0 commit comments