mirror of
https://github.com/stCarolas/setup-maven.git
synced 2025-02-25 17:15:47 +00:00
Correct GitHub actions workflow Integration Tests
This commit is contained in:
parent
187689f108
commit
d0e5e9b802
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -28,8 +28,8 @@ jobs:
|
||||
java-version: 8
|
||||
distribution: temurin
|
||||
- name: Setup Maven ${{ matrix.version }}
|
||||
uses: .
|
||||
id: setup-maven
|
||||
uses: thachnn/setup-maven@${{ github.ref_name }}
|
||||
with:
|
||||
maven-version: ${{ matrix.version }}
|
||||
- if: steps.setup-maven.outputs.version != matrix.expected
|
||||
|
@ -105,7 +105,7 @@ describe('integration tests', () => {
|
||||
await run();
|
||||
expect(core.info).toHaveBeenCalledWith(
|
||||
expect.stringMatching(
|
||||
new RegExp(`Use.* version ${REAL_VERSION} instead of.* ${TEST_VERSION}`, 'i')
|
||||
new RegExp(`Use.* version ${REAL_VERSION} instead of.* ${TEST_VERSION.charAt(0)}\\.`, 'i')
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user