diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1af0185..6bf8023 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,8 +16,6 @@ jobs: env: MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version" steps: - - name: test - run: echo $(pwd) && ls - name: Checkout uses: actions/checkout@v4 - name: Cache @@ -26,8 +24,8 @@ jobs: path: .m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-maven- - - name: Show file content - run: cat ~/.m2/settings.xml + - name: Create settings.xml + uses: s4u/maven-settings-action@v3 - name: Test run: mvn $MAVEN_CLI_OPTS test env: