Create .yml
This commit is contained in:
19
.gitea/workflows/.yml
Normal file
19
.gitea/workflows/.yml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Spring Boot CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
- name: Build with Maven
|
||||
run: ./mvnw package spring-boot:repackage
|
Reference in New Issue
Block a user