forked from SORMAS-Foundation/SORMAS-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (27 loc) · 792 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: SORMAS BUILD ALL
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn install -B --no-transfer-progress -Pwith-dep-poms -f sormas-base/pom.xml
- name: Build App
working-directory: ./sormas-app
run: |
chmod +x ./gradlew
./gradlew assembleDebug
- name: Collect Artifacts
run: ant collect-all -buildfile sormas-base/build.xml
- name: Upload artifact
uses: actions/[email protected]
with:
# Artifact name
name: Deployment Package
# Directory containing files to upload
path: deploy