mirror of
https://github.com/openflocon/Flocon.git
synced 2026-05-10 05:55:10 +00:00
31 lines
778 B
YAML
31 lines
778 B
YAML
name: Desktop Pull Request Check
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
paths:
|
|
- 'FloconDesktop/**'
|
|
- '.github/workflows/desktop_pr_check.yml'
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build FloconDesktop
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v5
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 21
|
|
|
|
- name: Set up Gradle
|
|
uses: gradle/actions/setup-gradle@v5
|
|
|
|
- name: Build with Gradle
|
|
working-directory: FloconDesktop
|
|
run: ./gradlew assemble
|