mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 17:05:49 +00:00
create an automatic versioning release
This commit is contained in:
parent
8992ebb642
commit
0e9b187543
1 changed files with 6 additions and 8 deletions
14
.github/workflows/github-actions.yml
vendored
14
.github/workflows/github-actions.yml
vendored
|
@ -1,14 +1,14 @@
|
|||
---
|
||||
name: "pre-release"
|
||||
name: "tagged-release"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
pre-release:
|
||||
name: "Pre Release"
|
||||
tagged-release:
|
||||
name: "Tagged Release"
|
||||
runs-on: "ubuntu-latest"
|
||||
|
||||
steps:
|
||||
|
@ -20,9 +20,7 @@ jobs:
|
|||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "latest"
|
||||
prerelease: true
|
||||
title: "Development Build"
|
||||
prerelease: false
|
||||
files: |
|
||||
LICENSE.txt
|
||||
*.jar
|
||||
|
|
Loading…
Reference in a new issue