Skip to content

Commit

Permalink
Single workflow also for releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpaljak committed Nov 17, 2024
1 parent 199a4d0 commit b685264
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 47 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/release.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/robot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,13 @@ jobs:
- name: Deploy snapshot
if: (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/main')
run: ./mvnw -B deploy
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
id: create_release
uses: softprops/[email protected]
with:
files: |
tool/target/fido.jar
fail_on_unmatched_files: true
body: Release ${{ github.ref_name }}
prerelease: true # manually promoted

0 comments on commit b685264

Please sign in to comment.