Skip to content

Add build workflow

Add build workflow #1

Workflow file for this run

name: Build
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run build with Gradle Wrapper
run: ./gradlew build
- name: Upload war
uses: actions/upload-artifact@v3
with:
name: Package
path: build/libs