From cf0901d753db0bf4d15baf625a6fa537978b03a9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 28 Feb 2026 22:23:19 +0100 Subject: upgrade actions/core to version 3 The relevant changes are in clean.js/restore.js. I'm very, very far away from the entire Javascript infrastructure, and absolutely don't understand why this changes were necessary. Thanks, ChatGPT! Supposedly, this has something to do with the actions/core's transition to ESM or whatever. --- restore.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'restore.js') diff --git a/restore.js b/restore.js index 794f6a5..997dad0 100644 --- a/restore.js +++ b/restore.js @@ -1,7 +1,7 @@ -const os = require('os'); -const process = require('process'); +import * as os from 'os'; +import * as process from 'process'; -const core = require('@actions/core'); +import * as core from '@actions/core'; try { if (os.platform != 'win32') { -- cgit v1.3