Skip to content

Commit

Permalink
Run Tests prior to making release
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkbains authored Feb 9, 2024
1 parent 56386cf commit 1908170
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
echo "New version: ${{ steps.version.outputs.version }} going to be released!"
fi
- name: Run Testsd
run: mvn verify

- name: Configure Git author
run: |
git config --local user.email "[email protected]"
Expand Down Expand Up @@ -108,7 +111,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_SECRET }}
run: |
mvn deploy -Dmaven.install.skip=true -DskipTests -Pgithub,publish
mvn deploy -Dmaven.install.skip=true -Pgithub,publish
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v4
Expand All @@ -119,7 +122,7 @@ jobs:
env:
GPG_PASSPHRASE: ${{ secrets.GPG_SECRET }}
run: |
mvn deploy -Dmaven.install.skip=true -DskipTests -Possrh,publish
mvn deploy -Dmaven.install.skip=true -Possrh,publish
- name: Create GitHub Release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 1908170

Please sign in to comment.