# # # Build workflow for all modules of captica.expert # # Project: workflows # Author: Marc Böhm # License: MIT License (see LICENSE.md) # # Copyright (c) captica GmbH est. 2021 # name: Java Build Workflow on: workflow_call: jobs: build: name: Build java distribution runs-on: nodejs-ubuntu steps: - name: Checkout source code uses: actions/checkout@v4 - name: Setup java runtime uses: actions/setup-java@v4 with: distribution: 'zulu' java-version: '21' - name: Run gradle build process run: | ./gradlew build - name: Upload artifact uses: actions/upload-artifact@v3 with: name: artifacts-build path: | build/libs/ build/*.sh retention-days: 10