Swap to env files

This commit is contained in:
Thomas Boop 2020-09-29 10:55:12 -04:00
parent 7ff6287c80
commit 54fefe5798
4 changed files with 98 additions and 42 deletions

View file

@ -37,6 +37,7 @@ describe('setup-go', () => {
beforeEach(() => {
// @actions/core
process.env['GITHUB_PATH'] = ''; // 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]);