From d95010682d5809c93bf0dd65412449a870a2110a Mon Sep 17 00:00:00 2001 From: Stathis Papachristou Date: Tue, 19 Sep 2023 19:14:41 +0200 Subject: [PATCH] [fix] add test step before publishing --- .github/workflows/publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8f826f3..7681b94 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,10 @@ jobs: with: java-version: '11' distribution: 'adopt' + - name: Test package + run: mvn --batch-mode test + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish package run: mvn --batch-mode deploy -DskipTests env: