mirror of
https://github.com/actions/stale.git
synced 2025-12-17 00:56:55 +00:00
Rename createHttpClient to createActionsCacheClient
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {createHttpClient, getCacheApiUrl} from './http-client';
|
||||
import {createActionsCacheClient, getCacheApiUrl} from './http-client';
|
||||
import {retryTypedResponse} from './retry';
|
||||
import {isSuccessStatusCode} from './http-responses';
|
||||
import {HttpClient} from '@actions/http-client';
|
||||
@@ -50,7 +50,7 @@ export const downloadFileFromActionsCache = async (
|
||||
cacheKey: string,
|
||||
cacheVersion: string
|
||||
) => {
|
||||
const httpClient = createHttpClient();
|
||||
const httpClient = createActionsCacheClient();
|
||||
const archiveUrl = await getCacheArchiveUrl(
|
||||
httpClient,
|
||||
cacheKey,
|
||||
|
||||
Reference in New Issue
Block a user