Update build.yml
This commit is contained in:
parent
1e1c14f75a
commit
f22733be18
@ -11,15 +11,17 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Grant execute permission for mvnw
|
||||
run: chmod +x ./mvnw
|
||||
|
||||
- name: Build with Maven
|
||||
- name: Build .jar with Maven
|
||||
run: ./mvnw package spring-boot:repackage
|
||||
|
||||
- name: Build Docker image
|
||||
|
Loading…
x
Reference in New Issue
Block a user