Skip to content

Refactorings

Refactorings #212

Workflow file for this run

name: Build KSE and run tests
on:
pull_request:
branches: [ main ]
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Set up JDK'
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: 'Grant execute permission for gradlew'
run: chmod +x gradlew
working-directory: kse
- name: 'Setup Gradle'
uses: gradle/gradle-build-action@v2
- name: 'Build with Gradle'
run: ./gradlew build
working-directory: kse
- name: 'Publish Test Report'
if: always()
uses: actions/upload-artifact@v2
with:
name: 'test-report'
path: kse/build/reports/tests/test/*
- name: 'Publish Build'
if: always()
uses: actions/upload-artifact@v2
with:
name: 'artifacts'
path: |
build/libs/kse.jar
kse/build/distributions/kse-*.zip