From 2c55c4b106c8a5d111e0b4dd8a5f6a315fe3c9a0 Mon Sep 17 00:00:00 2001 From: DanielGavin Date: Mon, 3 Oct 2022 12:51:30 +0200 Subject: Update main.js --- .github/actions/github-release/main.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github') diff --git a/.github/actions/github-release/main.js b/.github/actions/github-release/main.js index 077926e..83725c6 100644 --- a/.github/actions/github-release/main.js +++ b/.github/actions/github-release/main.js @@ -22,6 +22,12 @@ async function runOnce() { core.info(`name: ${name}`); core.info(`token: ${token}`); + const options = { + request: { + timeout: 30000, + } + }; + const octokit = github.getOctokit(token, options); // Delete the previous release since we can't overwrite one. This may happen -- cgit v1.2.3