mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-03 17:23:21 +08:00
Set main as the default branch (#527)
* set main as the default branch * revert change to tool-cache default branch * use versions where applicable
This commit is contained in:
2
packages/cache/src/internal/cacheUtils.ts
vendored
2
packages/cache/src/internal/cacheUtils.ts
vendored
@@ -9,7 +9,7 @@ import * as util from 'util'
|
||||
import {v4 as uuidV4} from 'uuid'
|
||||
import {CacheFilename, CompressionMethod} from './constants'
|
||||
|
||||
// From https://github.com/actions/toolkit/blob/master/packages/tool-cache/src/tool-cache.ts#L23
|
||||
// From https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L23
|
||||
export async function createTempDirectory(): Promise<string> {
|
||||
const IS_WINDOWS = process.platform === 'win32'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user