update github actions versions #22
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 21 | |
uses: actions/[email protected] | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | |
settings-path: ${{ github.workspace }} # location for the settings.xml file | |
- uses: burrunan/[email protected] | |
name: Build NoiseTool | |
with: | |
# Specifies arguments for Gradle execution | |
# If arguments is missing or empty, then Gradle is not executed | |
arguments: build | |
# arguments can be multi-line for better readability | |
# arguments: | | |
# --no-paralell | |
# build | |
# -x test | |
# Gradle version to use for execution: | |
# wrapper (default), current, rc, nightly, release-nightly, or | |
# versions like 6.6 (see https://services.gradle.org/versions/all) | |
gradle-version: wrapper | |
# Properties are passed as -Pname=value | |
properties: | | |
kotlin.js.compiler=ir | |
kotlin.parallel.tasks.in.project=true | |
- name: Release | |
uses: softprops/[email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
build/libs/NoiseTool-*-all.jar |