Skip to content

Add GitHub release action #1

Add GitHub release action

Add GitHub release action #1

Workflow file for this run

name: Releases
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: ./mvnw -P release clean package
- uses: ncipollo/release-action@v1
with:
artifacts: "spring-petclinic-**/target/*.jar"