Skip to content

Kotlin DSL

Kotlin DSL #31

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build1:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Set up JDK 8
uses: actions/setup-java@main
with:
java-version: '8'
distribution: temurin
- name: Build with Gradle
uses: gradle/gradle-build-action@main
with:
arguments: build
build-root-directory: ./Lab01
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: compiled-artifact1
path: ./Lab01/build/libs/*.jar
build2:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Set up JDK 8
uses: actions/setup-java@main
with:
java-version: '8'
distribution: temurin
- name: Build with Gradle
uses: gradle/gradle-build-action@main
with:
arguments: build
build-root-directory: ./Lab02
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: compiled-artifact2
path: ./Lab02/build/libs/*.jar
build3:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Set up JDK 8
uses: actions/setup-java@main
with:
java-version: '8'
distribution: temurin
- name: Build with Gradle
uses: gradle/gradle-build-action@main
with:
arguments: build
build-root-directory: ./Lab03
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: compiled-artifact3
path: ./Lab03/build/libs/*.jar
build4:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Set up JDK 8
uses: actions/setup-java@main
with:
java-version: '8'
distribution: temurin
- name: Build with Gradle
uses: gradle/gradle-build-action@main
with:
arguments: build
build-root-directory: ./Lab04
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: compiled-artifact4
path: ./Lab04/build/libs/*.jar
buildc:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Set up JDK 8
uses: actions/setup-java@main
with:
java-version: '8'
distribution: temurin
- name: Build with Gradle
uses: gradle/gradle-build-action@main
with:
arguments: build
build-root-directory: ./Course
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: compiled-artifactc
path: ./Course/build/libs/*.jar