mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 10:32:54 +08:00
minor
This commit is contained in:
parent
f05c940e43
commit
6d774fcb59
@ -31,7 +31,6 @@ import {
|
|||||||
const versionSalt = '1.0'
|
const versionSalt = '1.0'
|
||||||
|
|
||||||
function getCacheApiUrl(resource: string): string {
|
function getCacheApiUrl(resource: string): string {
|
||||||
// Ideally we just use ACTIONS_CACHE_URL
|
|
||||||
const baseUrl: string = process.env['ACTIONS_CACHE_URL'] || ''
|
const baseUrl: string = process.env['ACTIONS_CACHE_URL'] || ''
|
||||||
if (!baseUrl) {
|
if (!baseUrl) {
|
||||||
throw new Error('Cache Service Url not found, unable to restore cache.')
|
throw new Error('Cache Service Url not found, unable to restore cache.')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user