Skip to content

Commit 5ceb81a

Browse files
Update action.yml
1 parent 015bd35 commit 5ceb81a

File tree

1 file changed

+3
-39
lines changed

1 file changed

+3
-39
lines changed

action.yml

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,6 @@ author: 'Vukan-Markovic <vukan.markovic97@gmail.com>'
44
branding:
55
icon: 'box'
66
color: 'green'
7-
on:
8-
pull_request:
9-
branches:
10-
- 'master'
11-
push:
12-
branches:
13-
- 'master'
14-
15-
jobs:
16-
test:
17-
name: Unit Tests
18-
runs-on: ubuntu-18.04
19-
20-
steps:
21-
- uses: actions/checkout@v1
22-
- name: Set up JDK 1.8
23-
uses: actions/setup-java@v1
24-
with:
25-
java-version: 1.8
26-
- name: Run Unit tests
27-
run: bash ./gradlew test --stacktrace
28-
29-
apk:
30-
name: Generate APK
31-
runs-on: ubuntu-18.04
32-
33-
steps:
34-
- uses: actions/checkout@v1
35-
- name: Set up JDK 1.8
36-
uses: actions/setup-java@v1
37-
with:
38-
java-version: 1.8
39-
- name: Build debug APK
40-
run: bash ./gradlew assembleDebug --stacktrace
41-
- name: Create APK artifact
42-
uses: actions/upload-artifact@v1
43-
with:
44-
name: app
45-
path: app/build/outputs/apk/debug/app-debug.apk
7+
runs:
8+
using: 'docker'
9+
image: 'Dockerfile'

0 commit comments

Comments
 (0)