Kotlin 1.9.24 #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Gradle | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Set up JDK 21 | |
uses: actions/setup-java@main | |
with: | |
java-version: '21' | |
distribution: temurin | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@main | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Upload Artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: compiled-artifact | |
path: ./build/libs/*.jar |