diff --git a/.gitea/workflows/pushAction.yaml b/.gitea/workflows/pushAction.yaml index 8e0fd09..7ab7045 100644 --- a/.gitea/workflows/pushAction.yaml +++ b/.gitea/workflows/pushAction.yaml @@ -19,10 +19,12 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven - - name: Build with Maven - uses: xlui/action-maven-cli@master + - name: Set up Maven + uses: stCarolas/setup-maven@v5 with: - lifecycle: 'clean package test' + maven-version: '3.9.9' + - name: Build with Maven + run: mvn -B clean package - run: | echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." echo "🖥️ The workflow is now ready to test your code on the runner."