From e68932e14e31cd6e4d91ba1f94ed95c458c4a628 Mon Sep 17 00:00:00 2001 From: "Sverre H. Huseby" Date: Tue, 31 Oct 2023 10:10:12 +0100 Subject: [PATCH] don't deploy to GitHub Maven repo --- .github/workflows/release.yml | 6 ++---- pom.xml | 8 -------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d94106..a4929a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,8 @@ jobs: with: java-version: '11' distribution: 'temurin' - - name: Publish package - run: mvn --batch-mode deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Build package + run: mvn --batch-mode verify - name: Push GitHub release artifact uses: softprops/action-gh-release@v1 with: diff --git a/pom.xml b/pom.xml index 55f44b1..8922c4c 100644 --- a/pom.xml +++ b/pom.xml @@ -31,14 +31,6 @@ 3.6.0 - - - github - GitHub Packages - https://maven.pkg.github.com/statnett/${project.artifactId} - - -