From f677554bc37a3d29ff9c45669a2c0749c7a39dd0 Mon Sep 17 00:00:00 2001 From: oranheim Date: Fri, 27 Sep 2024 12:09:16 +0200 Subject: [PATCH] Configure build and very PR action --- .github/workflows/build-and-verify-pr.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-verify-pr.yml b/.github/workflows/build-and-verify-pr.yml index ab6021b..fcf62b0 100644 --- a/.github/workflows/build-and-verify-pr.yml +++ b/.github/workflows/build-and-verify-pr.yml @@ -29,4 +29,8 @@ jobs: cat "${{ github.workspace }}/.github/settings.xml" > ~/.m2/settings.xml - name: Build with Maven - run: mvn --batch-mode --update-snapshots verify + env: + MAVEN_USERNAME: ${{ secrets.OSSRH_USER }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + run: | + mvn --batch-mode --update-snapshots verify