Skip to content

Update Main.kt

Update Main.kt #97

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
version: [ 'Lab1', 'Lab2', 'Lab3', 'Lab4' ]
steps:
- uses: actions/checkout@main
- name: Set up JDK 21
uses: actions/setup-java@main
with:
java-version: '21'
distribution: temurin
- name: Build with Gradle
uses: gradle/gradle-build-action@main
with:
arguments: :app${{matrix.version}}:build
- name: Upload Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: compiled-artifact
path: ./app${{matrix.version}}/build/libs/*.jar