diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1824391..e8e90f4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -18,9 +18,6 @@ jobs: build: runs-on: ubuntu-latest - permissions: - contents: read - packages: write steps: - uses: actions/checkout@v3 @@ -30,13 +27,8 @@ jobs: java-version: '11' distribution: 'temurin' cache: maven - server-id: github # Value of the distributionManagement/repository/id field of the pom.xml - settings-path: ${{ github.workspace }} # location for the settings.xml file - - name: Build and Publish with Maven - run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml - env: - GITHUB_TOKEN: ${{ github.token }} - + - name: Build with Maven + run: mvn -B package --file pom.xml # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - name: Update dependency graph