Update .yml

This commit is contained in:
Max W. 2023-12-04 20:24:04 +01:00
parent 4b3cf85c6b
commit f91e34e076

View File

@ -1,4 +1,4 @@
name: Spring Boot CI name: Spring App CI
on: on:
push: push:
@ -9,7 +9,8 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout
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:
@ -19,7 +20,8 @@ jobs:
run: chmod +x ./mvnw run: chmod +x ./mvnw
- name: Build with Maven - name: Build with Maven
run: ./mvnw package spring-boot:repackage run: ./mvnw package spring-boot:repackage
- uses: actions/upload-artifact@v3 - name: Upload Artifact
uses: actions/upload-artifact@v3
with: with:
name: jar name: jar
path: target/demo-0.0.1-SNAPSHOT.jar path: target/demo-0.0.1-SNAPSHOT.jar