Fix build. (#7)

* Fix.

* Husky commit correct node modules
This commit is contained in:
Stephen Franceschelli
2019-07-30 13:37:35 -04:00
committed by Danny McCormick
parent ffce9ce43f
commit 136ed85710
19 changed files with 453 additions and 462 deletions

View File

@ -7,23 +7,23 @@
"_phantomChildren": {},
"_requested": {
"type": "file",
"where": "C:\\Users\\damccorm\\Documents\\setup-go",
"where": "E:\\github\\setup-go",
"raw": "@actions/core@file:toolkit/actions-core-0.0.0.tgz",
"name": "@actions/core",
"escapedName": "@actions%2fcore",
"scope": "@actions",
"rawSpec": "file:toolkit/actions-core-0.0.0.tgz",
"saveSpec": "file:toolkit\\actions-core-0.0.0.tgz",
"fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-core-0.0.0.tgz"
"fetchSpec": "E:\\github\\setup-go\\toolkit\\actions-core-0.0.0.tgz"
},
"_requiredBy": [
"/",
"/@actions/tool-cache"
],
"_resolved": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-core-0.0.0.tgz",
"_resolved": "E:\\github\\setup-go\\toolkit\\actions-core-0.0.0.tgz",
"_shasum": "346d90a534fa6c5021bc2e1b732574fd2c66fc35",
"_spec": "@actions/core@file:toolkit/actions-core-0.0.0.tgz",
"_where": "C:\\Users\\damccorm\\Documents\\setup-go",
"_where": "E:\\github\\setup-go",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},

View File

@ -7,23 +7,23 @@
"_phantomChildren": {},
"_requested": {
"type": "file",
"where": "C:\\Users\\damccorm\\Documents\\setup-go",
"where": "E:\\github\\setup-go",
"raw": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz",
"name": "@actions/exec",
"escapedName": "@actions%2fexec",
"scope": "@actions",
"rawSpec": "file:toolkit/actions-exec-0.0.0.tgz",
"saveSpec": "file:toolkit\\actions-exec-0.0.0.tgz",
"fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-exec-0.0.0.tgz"
"fetchSpec": "E:\\github\\setup-go\\toolkit\\actions-exec-0.0.0.tgz"
},
"_requiredBy": [
"/",
"/@actions/tool-cache"
],
"_resolved": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-exec-0.0.0.tgz",
"_resolved": "E:\\github\\setup-go\\toolkit\\actions-exec-0.0.0.tgz",
"_shasum": "341d868fe6c4123ded20db9c2106b7b8c16e1d73",
"_spec": "@actions/exec@file:toolkit/actions-exec-0.0.0.tgz",
"_where": "C:\\Users\\damccorm\\Documents\\setup-go",
"_where": "E:\\github\\setup-go",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},

View File

@ -7,23 +7,23 @@
"_phantomChildren": {},
"_requested": {
"type": "file",
"where": "C:\\Users\\damccorm\\Documents\\setup-go",
"where": "E:\\github\\setup-go",
"raw": "@actions/exit@file:toolkit/actions-exit-0.0.0.tgz",
"name": "@actions/exit",
"escapedName": "@actions%2fexit",
"scope": "@actions",
"rawSpec": "file:toolkit/actions-exit-0.0.0.tgz",
"saveSpec": "file:toolkit\\actions-exit-0.0.0.tgz",
"fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-exit-0.0.0.tgz"
"fetchSpec": "E:\\github\\setup-go\\toolkit\\actions-exit-0.0.0.tgz"
},
"_requiredBy": [
"/",
"/@actions/core"
],
"_resolved": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-exit-0.0.0.tgz",
"_resolved": "E:\\github\\setup-go\\toolkit\\actions-exit-0.0.0.tgz",
"_shasum": "d47c8c61b45750ae49fea3061e3419a547b2a48f",
"_spec": "@actions/exit@file:toolkit/actions-exit-0.0.0.tgz",
"_where": "C:\\Users\\damccorm\\Documents\\setup-go",
"_where": "E:\\github\\setup-go",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},

View File

@ -7,23 +7,23 @@
"_phantomChildren": {},
"_requested": {
"type": "file",
"where": "C:\\Users\\damccorm\\Documents\\setup-go",
"where": "E:\\github\\setup-go",
"raw": "@actions/io@file:toolkit/actions-io-0.0.0.tgz",
"name": "@actions/io",
"escapedName": "@actions%2fio",
"scope": "@actions",
"rawSpec": "file:toolkit/actions-io-0.0.0.tgz",
"saveSpec": "file:toolkit\\actions-io-0.0.0.tgz",
"fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-io-0.0.0.tgz"
"fetchSpec": "E:\\github\\setup-go\\toolkit\\actions-io-0.0.0.tgz"
},
"_requiredBy": [
"/",
"/@actions/tool-cache"
],
"_resolved": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-io-0.0.0.tgz",
"_resolved": "E:\\github\\setup-go\\toolkit\\actions-io-0.0.0.tgz",
"_shasum": "1e8f0faca6b39215bebacedf473e5bb0716e39bf",
"_spec": "@actions/io@file:toolkit/actions-io-0.0.0.tgz",
"_where": "C:\\Users\\damccorm\\Documents\\setup-go",
"_where": "E:\\github\\setup-go",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},

View File

@ -29,8 +29,8 @@ exports.HTTPError = HTTPError;
const IS_WINDOWS = process.platform === 'win32';
const userAgent = 'actions/tool-cache';
// On load grab temp directory and cache directory and remove them from env (currently don't want to expose this)
let tempDirectory = process.env['RUNNER_TEMPDIRECTORY'] || '';
let cacheRoot = process.env['RUNNER_TOOLSDIRECTORY'] || '';
let tempDirectory = process.env['RUNNER_TEMP'] || '';
let cacheRoot = process.env['RUNNER_TOOL_CACHE'] || '';
// If directories not found, place them in common temp locations
if (!tempDirectory || !cacheRoot) {
let baseLocation;

File diff suppressed because one or more lines are too long

View File

@ -2,27 +2,27 @@
"_from": "file:toolkit\\actions-tool-cache-0.0.0.tgz",
"_id": "@actions/tool-cache@0.0.0",
"_inBundle": false,
"_integrity": "sha512-NavDg5VFXDfbe9TpFuj+uOHacjg1bT3Wmo3DQuul3gsGRBEXyzhh2MWKnBZs/Zh7FE3prLmIqpbtymafNBFkIA==",
"_integrity": "sha512-CCJjXKGfqR34oo1mgKpUk63g3fcoIq+aNJBZ7b73aWGot0ddju2cefJrKjhEun4FI7gYsLYg+ayAUnbFwkGd4Q==",
"_location": "/@actions/tool-cache",
"_phantomChildren": {},
"_requested": {
"type": "file",
"where": "C:\\Users\\damccorm\\Documents\\setup-go",
"where": "E:\\github\\setup-go",
"raw": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz",
"name": "@actions/tool-cache",
"escapedName": "@actions%2ftool-cache",
"scope": "@actions",
"rawSpec": "file:toolkit/actions-tool-cache-0.0.0.tgz",
"saveSpec": "file:toolkit\\actions-tool-cache-0.0.0.tgz",
"fetchSpec": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-tool-cache-0.0.0.tgz"
"fetchSpec": "E:\\github\\setup-go\\toolkit\\actions-tool-cache-0.0.0.tgz"
},
"_requiredBy": [
"/"
],
"_resolved": "C:\\Users\\damccorm\\Documents\\setup-go\\toolkit\\actions-tool-cache-0.0.0.tgz",
"_shasum": "fa216c10f724010a74602fd14881f25f5b008070",
"_resolved": "E:\\github\\setup-go\\toolkit\\actions-tool-cache-0.0.0.tgz",
"_shasum": "223a115ab2782ba0a7ad4a0a829030b9cb84eade",
"_spec": "@actions/tool-cache@file:toolkit/actions-tool-cache-0.0.0.tgz",
"_where": "C:\\Users\\damccorm\\Documents\\setup-go",
"_where": "E:\\github\\setup-go",
"bugs": {
"url": "https://github.com/actions/toolkit/issues"
},