diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d92ddefbd..5f6ed9d0d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -41,15 +41,20 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven - - name: maven-settings-action - uses: s4u/maven-settings-action@v3.0.0 - with: - servers: | - [{ - "id": "github", - "username": "${{ github.actor }}", - "password": "${{ secrets.GITHUB_TOKEN }}" - }] + - name: Create Maven settings.xml + run: | + echo " + + + github + ${{ github.actor }} + ${{ secrets.GITHUB_TOKEN }} + + + " > ~/.m2/settings.xml - name: Build with Maven run: mvn clean package env: