Correct GitHub actions workflow Integration Tests

This commit is contained in:
Thach Nguyen 2022-08-04 15:48:07 +07:00
parent 187689f108
commit d0e5e9b802
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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')
)
);