@actions/tool-cache
Advanced tools
Comparing version 1.1.0 to 1.1.1
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -8,0 +9,0 @@ }); |
{ | ||
"name": "@actions/tool-cache", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Actions tool-cache lib", | ||
"keywords": [ | ||
"exec", | ||
"actions" | ||
"github", | ||
"actions", | ||
"exec" | ||
], | ||
@@ -35,5 +36,5 @@ "homepage": "https://github.com/actions/toolkit/tree/master/packages/exec", | ||
"dependencies": { | ||
"@actions/core": "^1.0.0", | ||
"@actions/exec": "^1.0.0", | ||
"@actions/io": "^1.0.0", | ||
"@actions/core": "^1.1.0", | ||
"@actions/exec": "^1.0.1", | ||
"@actions/io": "^1.0.1", | ||
"semver": "^6.1.0", | ||
@@ -48,3 +49,4 @@ "typed-rest-client": "^1.4.0", | ||
"nock": "^10.0.6" | ||
} | ||
}, | ||
"gitHead": "a2ab4bcf78e4f7080f0d45856e6eeba16f0bbc52" | ||
} |
@@ -25,7 +25,7 @@ # `@actions/tool-cache` | ||
if (process.platform === 'win32') { | ||
tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-win-x64.zip'); | ||
const node12Path = tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-win-x64.zip'); | ||
const node12ExtractedFolder = await tc.extractZip(node12Path, 'path/to/extract/to'); | ||
// Or alternately | ||
tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-win-x64.7z'); | ||
const node12Path = tc.downloadTool('http://nodejs.org/dist/v12.7.0/node-v12.7.0-win-x64.7z'); | ||
const node12ExtractedFolder = await tc.extract7z(node12Path, 'path/to/extract/to'); | ||
@@ -32,0 +32,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
442124
10
527
2
Updated@actions/core@^1.1.0
Updated@actions/exec@^1.0.1
Updated@actions/io@^1.0.1