1
0
Fork 0

fixes s3 return value

pull/1935/head
Prajjwal 2024-06-14 10:34:46 +05:30
parent 6bdbdf308f
commit 1de6efdd6c
3 changed files with 7 additions and 4 deletions

View File

@ -1,12 +1,12 @@
{
"name": "github-actions.warp-cache",
"version": "1.0.0",
"version": "1.1.17",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "github-actions.warp-cache",
"version": "1.0.0",
"version": "1.1.17",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.0",

View File

@ -1,6 +1,6 @@
{
"name": "github-actions.warp-cache",
"version": "1.1.16",
"version": "1.1.17",
"preview": true,
"description": "Github action to use WarpBuild's in-house cache offering",
"keywords": [

View File

@ -417,7 +417,10 @@ export async function saveCache(
completedParts
)
cacheKeyResponse = commitCacheResponse.result?.s3?.cache_key ?? ''
cacheKeyResponse =
commitCacheResponse.result?.cache_entry?.cache_user_given_key ??
commitCacheResponse.result?.s3?.cache_key ??
''
break
}