forked from cgutman/USBIPServerForAndroid
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 795 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
name: Build and deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
#- name: Setup Android SDK
# uses: android-actions/setup-android@v3
- name: Build SampleApplication
run: |
chmod +x ./gradlew
./gradlew --no-daemon build connectedCheck
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: |
./app/build/outputs/apk/debug/app-debug.apk
overwrite: true