diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 21b11e9..2fc7931 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -37,9 +37,9 @@ "license": "MIT" }, "node_modules/@microsoft/security-devops-actions-toolkit": { - "version": "1.8.1-beta3", - "resolved": "https://npm.pkg.github.com/download/@microsoft/security-devops-actions-toolkit/1.8.1-beta3/f2fbef9191c0f612c0394c8acf771d9ab9ac1cc4", - "integrity": "sha512-KvfM0oZj7rRO8Jl/J8JaxyTc1H0YiKUZfRhd2plmE7ftPwFdKQHSXkWNqgEK6LZWr7bkYGzjqYrt1CdstT07LQ==", + "version": "1.8.1-beta4", + "resolved": "https://npm.pkg.github.com/download/@microsoft/security-devops-actions-toolkit/1.8.1-beta4/f7e4b0d239f350ecf5006f0bc59b4de43d5ffc52", + "integrity": "sha512-XC9pnYPUmqWTIoIKYvO+vd48HM8xRq53+hO4DgAPTA8hnVOBOdx9NZTVGQj3b8/fUlrKo7qZoCkkyx5BePiYVQ==", "license": "MIT", "dependencies": { "@actions/core": "1.10.0", diff --git a/node_modules/@microsoft/security-devops-actions-toolkit/msdo-client.js b/node_modules/@microsoft/security-devops-actions-toolkit/msdo-client.js index 18de1a8..3cdcd2e 100644 --- a/node_modules/@microsoft/security-devops-actions-toolkit/msdo-client.js +++ b/node_modules/@microsoft/security-devops-actions-toolkit/msdo-client.js @@ -146,11 +146,12 @@ function run(inputArgs, telemetryEnvironment = 'github') { core.debug(`Creating missing folder: ${debugStagingDir}`); fs.mkdirSync(debugStagingDir); } - let debugDropArtifact = path.join(debugStagingDir, `debug.zip`); - let dupeCount = 0; + let debugDropArtifact = path.join(debugStagingDir, `MSDO_debug.zip`); + let dupeCount = 1; while (fs.existsSync(debugDropArtifact)) { + core.debug(`Debug Drop with the name ${debugDropArtifact} already exists, updating name to avoid collision...`); dupeCount += 1; - debugDropArtifact = path.join(debugStagingDir, `debug_${dupeCount}.zip`); + debugDropArtifact = path.join(debugStagingDir, `MSDO_debug_${dupeCount}.zip`); } fs.copyFileSync(zippedOutput, debugDropArtifact); core.debug(`Finished creating: ${debugDropArtifact}`); diff --git a/node_modules/@microsoft/security-devops-actions-toolkit/package.json b/node_modules/@microsoft/security-devops-actions-toolkit/package.json index 5999a5a..b1b6810 100644 --- a/node_modules/@microsoft/security-devops-actions-toolkit/package.json +++ b/node_modules/@microsoft/security-devops-actions-toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/security-devops-actions-toolkit", - "version": "1.8.1-beta3", + "version": "1.8.1-beta4", "description": "Microsoft Security DevOps for GitHub Actions toolkit.", "author": "Microsoft Corporation", "license": "MIT", diff --git a/package-lock.json b/package-lock.json index f140e17..5382178 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@actions/core": "1.10.0", "@actions/exec": "1.1.1", - "@microsoft/security-devops-actions-toolkit": "1.8.1-beta3" + "@microsoft/security-devops-actions-toolkit": "1.8.1-beta4" }, "devDependencies": { "@types/mocha": "^2.2.44", @@ -59,9 +59,9 @@ "license": "MIT" }, "node_modules/@microsoft/security-devops-actions-toolkit": { - "version": "1.8.1-beta3", - "resolved": "https://npm.pkg.github.com/download/@microsoft/security-devops-actions-toolkit/1.8.1-beta3/f2fbef9191c0f612c0394c8acf771d9ab9ac1cc4", - "integrity": "sha512-KvfM0oZj7rRO8Jl/J8JaxyTc1H0YiKUZfRhd2plmE7ftPwFdKQHSXkWNqgEK6LZWr7bkYGzjqYrt1CdstT07LQ==", + "version": "1.8.1-beta4", + "resolved": "https://npm.pkg.github.com/download/@microsoft/security-devops-actions-toolkit/1.8.1-beta4/f7e4b0d239f350ecf5006f0bc59b4de43d5ffc52", + "integrity": "sha512-XC9pnYPUmqWTIoIKYvO+vd48HM8xRq53+hO4DgAPTA8hnVOBOdx9NZTVGQj3b8/fUlrKo7qZoCkkyx5BePiYVQ==", "license": "MIT", "dependencies": { "@actions/core": "1.10.0", @@ -5395,9 +5395,9 @@ "integrity": "sha1-L2FLbmnOFNGRGARR6zjmV2puayc=" }, "@microsoft/security-devops-actions-toolkit": { - "version": "1.8.1-beta3", - "resolved": "https://npm.pkg.github.com/download/@microsoft/security-devops-actions-toolkit/1.8.1-beta3/f2fbef9191c0f612c0394c8acf771d9ab9ac1cc4", - "integrity": "sha512-KvfM0oZj7rRO8Jl/J8JaxyTc1H0YiKUZfRhd2plmE7ftPwFdKQHSXkWNqgEK6LZWr7bkYGzjqYrt1CdstT07LQ==", + "version": "1.8.1-beta4", + "resolved": "https://npm.pkg.github.com/download/@microsoft/security-devops-actions-toolkit/1.8.1-beta4/f7e4b0d239f350ecf5006f0bc59b4de43d5ffc52", + "integrity": "sha512-XC9pnYPUmqWTIoIKYvO+vd48HM8xRq53+hO4DgAPTA8hnVOBOdx9NZTVGQj3b8/fUlrKo7qZoCkkyx5BePiYVQ==", "requires": { "@actions/core": "1.10.0", "@actions/exec": "1.1.1", diff --git a/package.json b/package.json index 5deff73..79dd1ae 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "dependencies": { "@actions/core": "1.10.0", "@actions/exec": "1.1.1", - "@microsoft/security-devops-actions-toolkit": "1.8.1-beta3" + "@microsoft/security-devops-actions-toolkit": "1.8.1-beta4" }, "devDependencies": { "@types/mocha": "^2.2.44",