Skip to content

SpringBoot Build and Release #3

SpringBoot Build and Release

SpringBoot Build and Release #3

name: SpringBoot Build and Release
on:
workflow_dispatch:
push:
branches:
- main
paths:
- './**'
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Maven Settings XML
uses: whelk-io/maven-settings-xml-action@v20
with:
repositories: ''
servers: ''
- name: Build with Maven
run: mvn package -B -DskipTests --file backend/pom.xml
- name: GH Release
uses: softprops/action-gh-release@v2
with:
files: backend/wall-server/target/wall-server-*.jar
tag_name: wechat_auto_reply-v1.0