Add secret and signature masking for cache and artifact packages

This commit is contained in:
Salman Chishti committed 2025-03-06 14:25:32 -08:00
1 parent 8a4fdf5d3c
commit 10e284a34d
3 files changed
+122 -2

No files matched your search

+6
View File
@@ -8,10 +8,16 @@ import * as tar from '../src/internal/tar'
import {CacheServiceClientJSON} from '../src/generated/results/api/v1/cache.twirp-client'
import * as cacheHttpClient from '../src/internal/cacheHttpClient'
import {UploadOptions} from '../src/options'
import {
CreateCacheEntryResponse,
GetCacheEntryDownloadURLResponse
} from '../src/generated/results/api/v1/cache'
import {CacheServiceClient} from '../src/internal/shared/cacheTwirpClient'
let logDebugMock: jest.SpyInstance
jest.mock('../src/internal/tar')
jest.mock('@actions/core')
const uploadFileMock = jest.fn()
const blockBlobClientMock = jest.fn().mockImplementation(() => ({