Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Bruno Borges 2026-07-13 15:17:16 -04:00 committed by GitHub
parent 8c4427276e
commit 4fa40b94c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -958,7 +958,7 @@ describe('toolchains tests', () => {
it('preserves toolchains from previous executions across multiple setup-java runs', async () => { it('preserves toolchains from previous executions across multiple setup-java runs', async () => {
// Regression test for https://github.com/actions/setup-java/issues/1099 // Regression test for https://github.com/actions/setup-java/issues/1099
// Running setup-java several times in the same job (e.g. matrix / multiple // Running setup-java several times in the same job (e.g. multiple steps / multiple
// java-version entries) must accumulate every JDK in toolchains.xml rather // java-version entries) must accumulate every JDK in toolchains.xml rather
// than replacing previously registered entries. // than replacing previously registered entries.
(core.getInput as jest.Mock<any>).mockImplementation((name: string) => { (core.getInput as jest.Mock<any>).mockImplementation((name: string) => {