mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-17 13:18:08 +08:00
Fix cache service url bug
This commit is contained in:
2
packages/cache/src/internal/constants.ts
vendored
2
packages/cache/src/internal/constants.ts
vendored
@@ -39,4 +39,4 @@ export const ManifestFilename = 'manifest.txt'
|
|||||||
|
|
||||||
// Cache Service Metadata
|
// Cache Service Metadata
|
||||||
export const CacheUrl = `${process.env['ACTIONS_CACHE_URL_NEXT']} || ${process.env['ACTIONS_CACHE_URL']}`
|
export const CacheUrl = `${process.env['ACTIONS_CACHE_URL_NEXT']} || ${process.env['ACTIONS_CACHE_URL']}`
|
||||||
export const CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT']} ? 'v2' : 'v1'`
|
export const CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT'] ? 'v2' : 'v1'}`
|
||||||
Reference in New Issue
Block a user