Skip to content

Create desktop-web.yml #1

Create desktop-web.yml

Create desktop-web.yml #1

Workflow file for this run

name: Desktop and Web CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Build-Desktop:
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew desktop:assemble
Build-Web:
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Build with Gradle
run: ./gradlew jsApp:assemble