Update @actions/core to 1.10.0

This commit is contained in:
Francesco Renzi 2022-10-06 12:13:30 +01:00
parent c81d8ad96d
commit 742e43fae4
6 changed files with 82 additions and 51 deletions

View file

@ -46,6 +46,7 @@ describe('setup-node', () => {
// @actions/core
console.log('::stop-commands::stoptoken'); // Disable executing of runner commands when running tests in actions
process.env['GITHUB_PATH'] = ''; // Stub out ENV file functionality so we can verify it writes to standard out
process.env['GITHUB_OUTPUT'] = ''; // Stub out ENV file functionality so we can verify it writes to standard out
inputs = {};
inSpy = jest.spyOn(core, 'getInput');
inSpy.mockImplementation(name => inputs[name]);