Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Update README.md

Update README.md #28

Workflow file for this run

# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-linux-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 19
uses: actions/setup-java@v2
with:
java-version: '19'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Store artifacts
uses: actions/upload-artifact@v2
with:
name: linux-app
path: build/graal/*
build-macos-app:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Set up JDK 19
uses: actions/setup-java@v2
with:
java-version: '19'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Store artifacts
uses: actions/upload-artifact@v2
with:
name: macos-app
path: build/graal/*
build-windows-app:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: microsoft/[email protected]
with:
vs-version: '17'
- name: Set up JDK 19
uses: actions/setup-java@v2
with:
java-version: '19'
distribution: 'adopt'
cache: gradle
- name: Build with Gradle
run: ./gradlew build --no-daemon
- name: Store artifacts
uses: actions/upload-artifact@v2
with:
name: windows-app
path: build/graal/*