diff --git a/dist/index.js b/dist/index.js index 5d7c55b..353e9a0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7139,6 +7139,13 @@ exports.setFailed = setFailed; //----------------------------------------------------------------------- // Logging Commands //----------------------------------------------------------------------- +/** + * Gets whether Actions Step Debug is on or not + */ +function isDebug() { + return process.env['RUNNER_DEBUG'] === '1'; +} +exports.isDebug = isDebug; /** * Writes debug message to user log * @param message debug message diff --git a/package-lock.json b/package-lock.json index afdc0e5..d0b81d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@actions/core": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.2.tgz", - "integrity": "sha512-IbCx7oefq+Gi6FWbSs2Fnw8VkEI6Y4gvjrYprY3RV//ksq/KPMlClOerJ4jRosyal6zkUIc8R9fS/cpRMlGClg==" + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.3.tgz", + "integrity": "sha512-Wp4xnyokakM45Uuj4WLUxdsa8fJjKVl1fDTsPbTEcTcuu0Nb26IPQbOtjmnfaCPGcaoPOOqId8H9NapZ8gii4w==" }, "@actions/github": { "version": "2.1.1", diff --git a/package.json b/package.json index cd9ca66..56310a2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.8.0", "author": "GitHub", "dependencies": { - "@actions/core": "^1.2.2", + "@actions/core": "^1.2.3", "@actions/github": "^2.1.1" }, "devDependencies": {