Skip to content

Commit

Permalink
CI: add new action to upload the War artifact in the Releases page
Browse files Browse the repository at this point in the history
  • Loading branch information
natzei committed Sep 15, 2022
1 parent 2cd8142 commit 3ba31d8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ jobs:
name: war-artifact
path: xyz.balzaclang.balzac.web/target/balzac.war

- name: Upload war artifact to Github Releases
uses: fnkr/github-action-ghr@v1
if: ${{ github.ref_type == 'tag' }}
env:
GHR_COMPRESS: xz
GHR_PATH: xyz.balzaclang.balzac.web/target/balzac.war
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish coverage metrics to Coveralls.io
run: mvn -B -f xyz.balzaclang.balzac.lib/ jacoco:report coveralls:report -DrepoToken=${{ secrets.COVERALLS_REPO_TOKEN }}

Expand Down

0 comments on commit 3ba31d8

Please sign in to comment.