Fix cache service url bug

This commit is contained in:
Bassem Dghaidi 2024-06-17 01:32:41 -07:00 committed by GitHub
parent 5afc042a74
commit 8d7ed4fb57

View File

@ -39,4 +39,4 @@ export const ManifestFilename = 'manifest.txt'
// Cache Service Metadata
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'}`