Workflow Test/Build Additions

This commit is contained in:
shabinder 2021-05-16 02:04:16 +05:30
parent 222d0f706d
commit 658cbbaf91
2 changed files with 16 additions and 6 deletions

View File

@ -1,9 +1,11 @@
name: Release name: Release
on: on:
workflow_dispatch: [workflow_dispatch]
release:
types: [ created ] # workflow_dispatch:
# release:
# types: [ created ]
jobs: jobs:
build: build:

View File

@ -10,12 +10,20 @@ jobs:
- name: Setup Java - name: Setup Java
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 1.8 java-version: 15
# Check out current repository # Check out current repository
- name: Fetch Sources - name: Fetch Sources
uses: actions/checkout@v2.3.1 uses: actions/checkout@v2.3.1
# Build application # Build Android application
- name: Test and Build - name: Android App
run: ./gradlew :android:build
# Build Desktop application
- name: Desktop App
run: ./gradlew :desktop:build
# Build Web application
- name: Web App
run: ./gradlew :web-app:build run: ./gradlew :web-app:build