Skip to content

JFB 7: Build jar from homework 6.5 using Maven and Gradle (#8) #4

JFB 7: Build jar from homework 6.5 using Maven and Gradle (#8)

JFB 7: Build jar from homework 6.5 using Maven and Gradle (#8) #4

Workflow file for this run

name: Build with Gradle and run
on: [push, workflow_dispatch]
jobs:
build_with_gradle:
runs-on: ubuntu-latest
steps:
- name: Get Repo
uses: actions/[email protected]
- name: Setup Java
uses: actions/[email protected]
with:
java-version: 21
distribution: 'temurin'
- name: Build Project with Gradle
run: gradle clean build
- name: Run Application
run: java -jar build/libs/java-trainee-edu-1.0-SNAPSHOT.jar