Merge branch 'main' into feature/default-to-runner-architecture

This commit is contained in:
Wes Morgan 2022-09-19 08:58:18 -06:00
commit 36a2b1194e
No known key found for this signature in database
GPG key ID: 5639E4CBFA17DC84
21 changed files with 4284 additions and 3630 deletions

View file

@ -256,6 +256,10 @@ describe('setupJava', () => {
expect(spyGetToolcachePath).toHaveBeenCalled();
expect(spyCoreAddPath).toHaveBeenCalled();
expect(spyCoreExportVariable).toHaveBeenCalled();
expect(spyCoreExportVariable).toHaveBeenCalledWith(
`JAVA_HOME_${input.version}_${input.architecture.toLocaleUpperCase()}`,
expected.path
);
expect(spyCoreSetOutput).toHaveBeenCalled();
expect(spyCoreInfo).toHaveBeenCalledWith('Trying to resolve the latest version from remote');
expect(spyCoreInfo).toHaveBeenCalledWith(`Resolved latest version as ${expected.version}`);