From 1c0119c056919c9913db0d2c11e75e370a7e225c Mon Sep 17 00:00:00 2001
From: eric sciple <ericsciple@users.noreply.github.com>
Date: Mon, 18 May 2020 11:37:12 -0400
Subject: [PATCH] .

---
 dist/index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist/index.js b/dist/index.js
index 4d5cf635..1fb1189b 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -10943,7 +10943,7 @@ function downloadTool(url, dest, auth) {
                 }
             }
             // Otherwise retry
-            return true;
+            return false;
         });
     });
 }
@@ -10965,7 +10965,7 @@ function downloadToolAttempt(url, dest, auth) {
             };
         }
         const response = yield http.get(url, headers);
-        throw new HTTPError(429);
+        throw new HTTPError(500);
         if (response.message.statusCode !== 200) {
             const err = new HTTPError(response.message.statusCode);
             core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);