SpotiFlyer/.github/workflows/build-and-publish-kjs.yml

31 lines
704 B
YAML
Raw Normal View History

2021-03-16 12:19:16 +01:00
name: Build and Publish
on: [ pull_request ]
2021-03-16 12:19:16 +01:00
jobs:
build:
name: Test and Build
runs-on: ubuntu-latest
steps:
# Setup Java 1.8 environment for the next steps
- name: Setup Java
2022-01-28 03:01:57 +01:00
uses: actions/setup-java@v2
2021-03-16 12:19:16 +01:00
with:
2022-01-28 03:01:57 +01:00
distribution: 'zulu'
2021-05-15 22:34:16 +02:00
java-version: 15
2021-03-16 12:19:16 +01:00
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v2.3.1
2021-05-15 22:34:16 +02:00
# Build Android application
- name: Android App
run: ./gradlew :android:build
# Build Desktop application
- name: Desktop App
run: ./gradlew :desktop:build
# Build Web application
- name: Web App
2021-03-16 12:19:16 +01:00
run: ./gradlew :web-app:build