Skip to content

Develop/unilogin lightweight #221

Develop/unilogin lightweight

Develop/unilogin lightweight #221

Workflow file for this run

name: Build and Test
on:
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Calculate version
id: spell
uses: actoaps/version-spell@v5
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: gradle
- name: Gradle Build
run: |
./gradlew clean build sonar -Dsonar.host.url=$SONAR_HOST -Dsonar.login=$SONAR_LOGIN -DversionOverride=$BUILD_ID
env:
SONAR_HOST: ${{ secrets.SONAR_HOST }}
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}
BUILD_ID: ${{ steps.spell.outputs.version }}