Skip to content

Commit

Permalink
Use github release to publish war files
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickskowronekdkfz committed Jan 25, 2022
1 parent c33365b commit d1d259d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
branches:
- master
- develop
- feature/addWarToRelease

jobs:
build:
Expand Down Expand Up @@ -112,3 +113,13 @@ jobs:
uses: github/codeql-action/upload-sarif@codeql-bundle-20211208
with:
sarif_file: trivy-results.sarif

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/connector.war
asset_name: ${{matrix.project_context}}_connector.war
tag: ${{ github.ref }}
overwrite: true
body: "This is my release text"

0 comments on commit d1d259d

Please sign in to comment.