Update build.yml
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user