diff --git a/badges/coverage.svg b/badges/coverage.svg
index eca348c..5bb55be 100644
--- a/badges/coverage.svg
+++ b/badges/coverage.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
index ac952cc..325e0a1 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1,22 +1,22 @@
-import require$$0$1 from 'os';
-import require$$0$2 from 'crypto';
+import require$$0 from 'os';
+import require$$0$1 from 'crypto';
import require$$1 from 'fs';
import require$$1$5 from 'path';
import require$$2$1 from 'http';
import require$$3$1 from 'https';
-import require$$0$6 from 'net';
+import require$$0$5 from 'net';
import require$$1$1 from 'tls';
import require$$4$1 from 'events';
-import require$$0$4 from 'assert';
-import require$$0$3 from 'util';
-import require$$0$5 from 'stream';
+import require$$0$3 from 'assert';
+import require$$0$2 from 'util';
+import require$$0$4 from 'stream';
import require$$7 from 'buffer';
import require$$8 from 'querystring';
import require$$13 from 'stream/web';
-import require$$0$8 from 'node:stream';
+import require$$0$7 from 'node:stream';
import require$$1$2 from 'node:util';
-import require$$0$7 from 'node:events';
-import require$$0$9 from 'worker_threads';
+import require$$0$6 from 'node:events';
+import require$$0$8 from 'worker_threads';
import require$$2$2 from 'perf_hooks';
import require$$5 from 'util/types';
import require$$4$2 from 'async_hooks';
@@ -24,7 +24,7 @@ import require$$1$3 from 'console';
import require$$1$4 from 'url';
import require$$3$2 from 'zlib';
import require$$6 from 'string_decoder';
-import require$$0$a from 'diagnostics_channel';
+import require$$0$9 from 'diagnostics_channel';
import require$$2$3 from 'child_process';
import require$$6$1 from 'timers';
@@ -59,8 +59,6 @@ function getAugmentedNamespace(n) {
return a;
}
-var src = {};
-
var core = {};
var command = {};
@@ -144,7 +142,7 @@ function requireCommand () {
};
Object.defineProperty(command, "__esModule", { value: true });
command.issue = command.issueCommand = undefined;
- const os = __importStar(require$$0$1);
+ const os = __importStar(require$$0);
const utils_1 = requireUtils$3();
/**
* Commands
@@ -252,9 +250,9 @@ function requireFileCommand () {
fileCommand.prepareKeyValueMessage = fileCommand.issueFileCommand = undefined;
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
- const crypto = __importStar(require$$0$2);
+ const crypto = __importStar(require$$0$1);
const fs = __importStar(require$$1);
- const os = __importStar(require$$0$1);
+ const os = __importStar(require$$0);
const utils_1 = requireUtils$3();
function issueFileCommand(command, message) {
const filePath = process.env[`GITHUB_${command}`];
@@ -394,7 +392,7 @@ function requireTunnel$1 () {
var http = require$$2$1;
var https = require$$3$1;
var events = require$$4$1;
- var util = require$$0$3;
+ var util = require$$0$2;
tunnel$1.httpOverHttp = httpOverHttp;
@@ -1108,14 +1106,14 @@ function requireUtil$6 () {
if (hasRequiredUtil$6) return util$6;
hasRequiredUtil$6 = 1;
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { kDestroyed, kBodyUsed } = requireSymbols$4();
const { IncomingMessage } = require$$2$1;
- const stream = require$$0$5;
- const net = require$$0$6;
+ const stream = require$$0$4;
+ const net = require$$0$5;
const { InvalidArgumentError } = requireErrors();
const { Blob } = require$$7;
- const nodeUtil = require$$0$3;
+ const nodeUtil = require$$0$2;
const { stringify } = require$$8;
const { headerNameLowerCasedRecord } = requireConstants$4();
@@ -1736,7 +1734,7 @@ function requireTimers () {
return timers;
}
-var main$1 = {exports: {}};
+var main = {exports: {}};
var sbmh;
var hasRequiredSbmh;
@@ -1771,7 +1769,7 @@ function requireSbmh () {
* Based heavily on the Streaming Boyer-Moore-Horspool C++ implementation
* by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool
*/
- const EventEmitter = require$$0$7.EventEmitter;
+ const EventEmitter = require$$0$6.EventEmitter;
const inherits = require$$1$2.inherits;
function SBMH (needle) {
@@ -1982,7 +1980,7 @@ function requirePartStream () {
hasRequiredPartStream = 1;
const inherits = require$$1$2.inherits;
- const ReadableStream = require$$0$8.Readable;
+ const ReadableStream = require$$0$7.Readable;
function PartStream (opts) {
ReadableStream.call(this, opts);
@@ -2026,7 +2024,7 @@ function requireHeaderParser () {
if (hasRequiredHeaderParser) return HeaderParser_1;
hasRequiredHeaderParser = 1;
- const EventEmitter = require$$0$7.EventEmitter;
+ const EventEmitter = require$$0$6.EventEmitter;
const inherits = require$$1$2.inherits;
const getLimit = requireGetLimit();
@@ -2134,7 +2132,7 @@ function requireDicer () {
if (hasRequiredDicer) return Dicer_1;
hasRequiredDicer = 1;
- const WritableStream = require$$0$8.Writable;
+ const WritableStream = require$$0$7.Writable;
const inherits = require$$1$2.inherits;
const StreamSearch = requireSbmh();
@@ -2705,7 +2703,7 @@ function requireMultipart () {
// * support limits.fieldNameSize
// -- this will require modifications to utils.parseParams
- const { Readable } = require$$0$8;
+ const { Readable } = require$$0$7;
const { inherits } = require$$1$2;
const Dicer = requireDicer();
@@ -3268,10 +3266,10 @@ function requireUrlencoded () {
var hasRequiredMain;
function requireMain () {
- if (hasRequiredMain) return main$1.exports;
+ if (hasRequiredMain) return main.exports;
hasRequiredMain = 1;
- const WritableStream = require$$0$8.Writable;
+ const WritableStream = require$$0$7.Writable;
const { inherits } = require$$1$2;
const Dicer = requireDicer();
@@ -3349,12 +3347,12 @@ function requireMain () {
this._parser.write(chunk, cb);
};
- main$1.exports = Busboy;
- main$1.exports.default = Busboy;
- main$1.exports.Busboy = Busboy;
+ main.exports = Busboy;
+ main.exports.default = Busboy;
+ main.exports.Busboy = Busboy;
- main$1.exports.Dicer = Dicer;
- return main$1.exports;
+ main.exports.Dicer = Dicer;
+ return main.exports;
}
var constants$3;
@@ -3364,7 +3362,7 @@ function requireConstants$3 () {
if (hasRequiredConstants$3) return constants$3;
hasRequiredConstants$3 = 1;
- const { MessageChannel, receiveMessageOnPort } = require$$0$9;
+ const { MessageChannel, receiveMessageOnPort } = require$$0$8;
const corsSafeListedMethods = ['GET', 'HEAD', 'POST'];
const corsSafeListedMethodsSet = new Set(corsSafeListedMethods);
@@ -3575,7 +3573,7 @@ function requireUtil$5 () {
const { getGlobalOrigin } = requireGlobal$1();
const { performance } = require$$2$2;
const { isBlobLike, toUSVString, ReadableStreamFrom } = requireUtil$6();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { isUint8Array } = require$$5;
let supportedHashes = [];
@@ -4740,7 +4738,7 @@ function requireWebidl () {
if (hasRequiredWebidl) return webidl_1;
hasRequiredWebidl = 1;
- const { types } = require$$0$3;
+ const { types } = require$$0$2;
const { hasOwn, toUSVString } = requireUtil$5();
/** @type {import('../../types/webidl').Webidl} */
@@ -5393,7 +5391,7 @@ var hasRequiredDataURL;
function requireDataURL () {
if (hasRequiredDataURL) return dataURL;
hasRequiredDataURL = 1;
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { atob } = require$$7;
const { isomorphicDecode } = requireUtil$5();
@@ -6031,7 +6029,7 @@ function requireFile () {
hasRequiredFile = 1;
const { Blob, File: NativeFile } = require$$7;
- const { types } = require$$0$3;
+ const { types } = require$$0$2;
const { kState } = requireSymbols$3();
const { isBlobLike } = requireUtil$5();
const { webidl } = requireWebidl();
@@ -6671,7 +6669,7 @@ function requireBody () {
const { DOMException, structuredClone } = requireConstants$3();
const { Blob, File: NativeFile } = require$$7;
const { kBodyUsed } = requireSymbols$4();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { isErrored } = requireUtil$6();
const { isUint8Array, isArrayBuffer } = require$$5;
const { File: UndiciFile } = requireFile();
@@ -7272,7 +7270,7 @@ function requireRequest$1 () {
InvalidArgumentError,
NotSupportedError
} = requireErrors();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { kHTTP2BuildRequest, kHTTP2CopyHeaders, kHTTP1BuildRequest } = requireSymbols$4();
const util = requireUtil$6();
@@ -8002,8 +8000,8 @@ function requireConnect () {
if (hasRequiredConnect) return connect;
hasRequiredConnect = 1;
- const net = require$$0$6;
- const assert = require$$0$4;
+ const net = require$$0$5;
+ const assert = require$$0$3;
const util = requireUtil$6();
const { InvalidArgumentError, ConnectTimeoutError } = requireErrors();
@@ -8508,7 +8506,7 @@ function requireRedirectHandler () {
const util = requireUtil$6();
const { kBodyUsed } = requireSymbols$4();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { InvalidArgumentError } = requireErrors();
const EE = require$$4$1;
@@ -8768,10 +8766,10 @@ function requireClient () {
/* global WebAssembly */
- const assert = require$$0$4;
- const net = require$$0$6;
+ const assert = require$$0$3;
+ const net = require$$0$5;
const http = require$$2$1;
- const { pipeline } = require$$0$5;
+ const { pipeline } = require$$0$4;
const util = requireUtil$6();
const timers = requireTimers();
const Request = requireRequest$1();
@@ -11939,8 +11937,8 @@ function requireReadable () {
if (hasRequiredReadable) return readable;
hasRequiredReadable = 1;
- const assert = require$$0$4;
- const { Readable } = require$$0$5;
+ const assert = require$$0$3;
+ const { Readable } = require$$0$4;
const { RequestAbortedError, NotSupportedError, InvalidArgumentError } = requireErrors();
const util = requireUtil$6();
const { ReadableStreamFrom, toUSVString } = requireUtil$6();
@@ -12266,7 +12264,7 @@ var hasRequiredUtil$4;
function requireUtil$4 () {
if (hasRequiredUtil$4) return util$4;
hasRequiredUtil$4 = 1;
- const assert = require$$0$4;
+ const assert = require$$0$3;
const {
ResponseStatusCodeError
} = requireErrors();
@@ -12572,7 +12570,7 @@ function requireApiStream () {
if (hasRequiredApiStream) return apiStream;
hasRequiredApiStream = 1;
- const { finished, PassThrough } = require$$0$5;
+ const { finished, PassThrough } = require$$0$4;
const {
InvalidArgumentError,
InvalidReturnValueError,
@@ -12804,7 +12802,7 @@ function requireApiPipeline () {
Readable,
Duplex,
PassThrough
- } = require$$0$5;
+ } = require$$0$4;
const {
InvalidArgumentError,
InvalidReturnValueError,
@@ -12813,7 +12811,7 @@ function requireApiPipeline () {
const util = requireUtil$6();
const { AsyncResource } = require$$4$2;
const { addSignal, removeSignal } = requireAbortSignal();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const kResume = Symbol('resume');
@@ -13061,7 +13059,7 @@ function requireApiUpgrade () {
const { AsyncResource } = require$$4$2;
const util = requireUtil$6();
const { addSignal, removeSignal } = requireAbortSignal();
- const assert = require$$0$4;
+ const assert = require$$0$3;
class UpgradeHandler extends AsyncResource {
constructor (opts, callback) {
@@ -13366,7 +13364,7 @@ function requireMockUtils () {
types: {
isPromise
}
- } = require$$0$3;
+ } = require$$0$2;
function matchValue (match, value) {
if (typeof match === 'string') {
@@ -13926,7 +13924,7 @@ function requireMockClient () {
if (hasRequiredMockClient) return mockClient;
hasRequiredMockClient = 1;
- const { promisify } = require$$0$3;
+ const { promisify } = require$$0$2;
const Client = requireClient();
const { buildMockDispatch } = requireMockUtils();
const {
@@ -13993,7 +13991,7 @@ function requireMockPool () {
if (hasRequiredMockPool) return mockPool;
hasRequiredMockPool = 1;
- const { promisify } = require$$0$3;
+ const { promisify } = require$$0$2;
const Pool = requirePool();
const { buildMockDispatch } = requireMockUtils();
const {
@@ -14097,7 +14095,7 @@ function requirePendingInterceptorsFormatter () {
if (hasRequiredPendingInterceptorsFormatter) return pendingInterceptorsFormatter;
hasRequiredPendingInterceptorsFormatter = 1;
- const { Transform } = require$$0$5;
+ const { Transform } = require$$0$4;
const { Console } = require$$1$3;
/**
@@ -14520,7 +14518,7 @@ var hasRequiredRetryHandler;
function requireRetryHandler () {
if (hasRequiredRetryHandler) return RetryHandler_1;
hasRequiredRetryHandler = 1;
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { kRetryHandlerDefaultRetry } = requireSymbols$4();
const { RequestRetryError } = requireErrors();
@@ -14958,7 +14956,7 @@ function requireHeaders () {
isValidHeaderValue
} = requireUtil$5();
const { webidl } = requireWebidl();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const kHeadersMap = Symbol('headers map');
const kHeadersSortedMap = Symbol('headers map sorted');
@@ -15561,8 +15559,8 @@ function requireResponse () {
const { getGlobalOrigin } = requireGlobal$1();
const { URLSerializer } = requireDataURL();
const { kHeadersList, kConstruct } = requireSymbols$4();
- const assert = require$$0$4;
- const { types } = require$$0$3;
+ const assert = require$$0$3;
+ const { types } = require$$0$2;
const ReadableStream = globalThis.ReadableStream || require$$13.ReadableStream;
const textEncoder = new TextEncoder('utf-8');
@@ -16145,7 +16143,7 @@ function requireRequest () {
const { getGlobalOrigin } = requireGlobal$1();
const { URLSerializer } = requireDataURL();
const { kHeadersList, kConstruct } = requireSymbols$4();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require$$4$1;
let TransformStream = globalThis.TransformStream;
@@ -17111,7 +17109,7 @@ function requireFetch () {
urlHasHttpsScheme
} = requireUtil$5();
const { kState, kHeaders, kGuard, kRealm } = requireSymbols$3();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { safelyExtractBody } = requireBody();
const {
redirectStatusSet,
@@ -17123,7 +17121,7 @@ function requireFetch () {
} = requireConstants$3();
const { kHeadersList } = requireSymbols$4();
const EE = require$$4$1;
- const { Readable, pipeline } = require$$0$5;
+ const { Readable, pipeline } = require$$0$4;
const { addAbortListener, isErrored, isReadable, nodeMajor, nodeMinor } = requireUtil$6();
const { dataURLProcessor, serializeAMimeType } = requireDataURL();
const { TransformStream } = require$$13;
@@ -19563,7 +19561,7 @@ function requireUtil$3 () {
const { getEncoding } = requireEncoding();
const { DOMException } = requireConstants$3();
const { serializeAMimeType, parseMIMEType } = requireDataURL();
- const { types } = require$$0$3;
+ const { types } = require$$0$2;
const { StringDecoder } = require$$6;
const { btoa } = require$$7;
@@ -20317,7 +20315,7 @@ function requireUtil$2 () {
if (hasRequiredUtil$2) return util$2;
hasRequiredUtil$2 = 1;
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { URLSerializer } = requireDataURL();
const { isValidHeaderName } = requireUtil$5();
@@ -20384,7 +20382,7 @@ function requireCache () {
const { kState, kHeaders, kGuard, kRealm } = requireSymbols$3();
const { fetching } = requireFetch();
const { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = requireUtil$5();
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { getGlobalDispatcher } = requireGlobal();
/**
@@ -21392,7 +21390,7 @@ function requireUtil$1 () {
if (hasRequiredUtil$1) return util$1;
hasRequiredUtil$1 = 1;
- const assert = require$$0$4;
+ const assert = require$$0$3;
const { kHeadersList } = requireSymbols$4();
function isCTLExcludingHtab (value) {
@@ -21694,7 +21692,7 @@ function requireParse () {
const { maxNameValuePairSize, maxAttributeValueSize } = requireConstants$1();
const { isCTLExcludingHtab } = requireUtil$1();
const { collectASequenceOfCodePointsFast } = requireDataURL();
- const assert = require$$0$4;
+ const assert = require$$0$3;
/**
* @description Parses the field-value attributes of a set-cookie header string.
@@ -22289,7 +22287,7 @@ function requireEvents () {
const { webidl } = requireWebidl();
const { kEnumerableProperty } = requireUtil$6();
- const { MessagePort } = require$$0$9;
+ const { MessagePort } = require$$0$8;
/**
* @see https://html.spec.whatwg.org/multipage/comms.html#messageevent
@@ -22806,7 +22804,7 @@ function requireConnection () {
if (hasRequiredConnection) return connection;
hasRequiredConnection = 1;
- const diagnosticsChannel = require$$0$a;
+ const diagnosticsChannel = require$$0$9;
const { uid, states } = requireConstants();
const {
kReadyState,
@@ -23186,8 +23184,8 @@ function requireReceiver () {
if (hasRequiredReceiver) return receiver;
hasRequiredReceiver = 1;
- const { Writable } = require$$0$5;
- const diagnosticsChannel = require$$0$a;
+ const { Writable } = require$$0$4;
+ const diagnosticsChannel = require$$0$9;
const { parserStates, opcodes, states, emptyBuffer } = requireConstants();
const { kReadyState, kSentClose, kResponse, kReceivedClose } = requireSymbols();
const { isValidStatusCode, failWebsocketConnection, websocketMessageReceived } = requireUtil();
@@ -23558,7 +23556,7 @@ function requireWebsocket () {
const { ByteParser } = requireReceiver();
const { kEnumerableProperty, isBlobLike } = requireUtil$6();
const { getGlobalDispatcher } = requireGlobal();
- const { types } = require$$0$3;
+ const { types } = require$$0$2;
let experimentalWarned = false;
@@ -25207,7 +25205,7 @@ function requireSummary () {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = undefined;
- const os_1 = require$$0$1;
+ const os_1 = require$$0;
const fs_1 = require$$1;
const { access, appendFile, writeFile } = fs_1.promises;
exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';
@@ -25790,7 +25788,7 @@ function requireIo () {
};
Object.defineProperty(io, "__esModule", { value: true });
io.findInPath = io.which = io.mkdirP = io.rmRF = io.mv = io.cp = undefined;
- const assert_1 = require$$0$4;
+ const assert_1 = require$$0$3;
const path = __importStar(require$$1$5);
const ioUtil = __importStar(requireIoUtil());
/**
@@ -26096,7 +26094,7 @@ function requireToolrunner () {
};
Object.defineProperty(toolrunner, "__esModule", { value: true });
toolrunner.argStringToArray = toolrunner.ToolRunner = undefined;
- const os = __importStar(require$$0$1);
+ const os = __importStar(require$$0);
const events = __importStar(require$$4$1);
const child = __importStar(require$$2$3);
const path = __importStar(require$$1$5);
@@ -26839,7 +26837,7 @@ function requirePlatform () {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDetails = exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = undefined;
- const os_1 = __importDefault(require$$0$1);
+ const os_1 = __importDefault(require$$0);
const exec = __importStar(requireExec());
const getWindowsInfo = () => __awaiter(undefined, undefined, undefined, function* () {
const { stdout: version } = yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"', undefined, {
@@ -26942,7 +26940,7 @@ function requireCore () {
const command_1 = requireCommand();
const file_command_1 = requireFileCommand();
const utils_1 = requireUtils$3();
- const os = __importStar(require$$0$1);
+ const os = __importStar(require$$0);
const path = __importStar(require$$1$5);
const oidc_utils_1 = requireOidcUtils();
/**
@@ -27266,7 +27264,7 @@ function requireContext () {
Object.defineProperty(context, "__esModule", { value: true });
context.Context = undefined;
const fs_1 = require$$1;
- const os_1 = require$$0$1;
+ const os_1 = require$$0;
class Context {
/**
* Hydrate the context from the environment
@@ -31171,29 +31169,9 @@ async function run() {
}
}
-var main = /*#__PURE__*/Object.freeze({
- __proto__: null,
- run: run
-});
-
-var require$$0 = /*@__PURE__*/getAugmentedNamespace(main);
-
/**
* The entrypoint for the action.
*/
-var hasRequiredSrc;
-
-function requireSrc () {
- if (hasRequiredSrc) return src;
- hasRequiredSrc = 1;
- const { run } = require$$0;
-
- run();
- return src;
-}
-
-var srcExports = requireSrc();
-var index = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
-
-export { index as default };
+/* istanbul ignore next */
+run();
diff --git a/package-lock.json b/package-lock.json
index 3e3549f..a63912c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -29,7 +29,7 @@
"rollup": "^4.30.1"
},
"engines": {
- "node": ">=21"
+ "node": ">=20"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "*"
diff --git a/package.json b/package.json
index 2f90b7c..8daa2ff 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
".": "./dist/index.js"
},
"engines": {
- "node": ">=21"
+ "node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
diff --git a/src/index.js b/src/index.js
index 69d5712..61d96f1 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,6 +1,7 @@
/**
* The entrypoint for the action.
*/
-const { run } = require('./main')
+import { run } from './main'
+/* istanbul ignore next */
run()