Skip to content

Commit

Permalink
Merge pull request #84 from OP-TED/TEDEFO-2526-ENV-Publish-workflow-d…
Browse files Browse the repository at this point in the history
…oes-not-run-unit-tests

[fix] add test step before publishing
  • Loading branch information
papacst authored Oct 20, 2023
2 parents aa68fa8 + c96caa4 commit 3c7f688
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3c7f688

Please sign in to comment.