We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 330aaff commit ccc8d88Copy full SHA for ccc8d88
1 file changed
.github/workflows/maven.yml
@@ -28,3 +28,13 @@ jobs:
28
cache: 'maven'
29
- name: Build
30
run: mvn ${{ env.maven_commands }}
31
+ release:
32
+ needs: build
33
+ if: startsWith(github.ref, 'refs/tags')
34
+ runs-on: ubuntu-latest
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+ - name: Create a GitHub release
38
+ run: gh release create --generate-notes "${GITHUB_REF#refs/tags/}"
39
+ env:
40
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments