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