Skip to content

Dhbw2/go/feature/5

Dhbw2/go/feature/5 #11

Workflow file for this run

name: Build application
on: [ pull_request, workflow_call ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Build with Gradle Wrapper
run: ./gradlew build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: dhbw2go-backend
path: '${{ github.workspace }}/build/libs/*.jar'