Skip to content

Commit

Permalink
release on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pfichtner committed Mar 3, 2024
1 parent c01b582 commit 7256d36
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,14 @@ jobs:
run: mvn -B org.jacoco:jacoco-maven-plugin:prepare-agent package --file pom.xml
- name: Codecov
uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4.1.0

- name: Create Release
id: create_release
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.0
if: startsWith(github.ref, 'refs/tags/')
with:
artifacts: "target/*.jar"
makeLatest: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7256d36

Please sign in to comment.