-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 956 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
name: Build Scribble.rs Pad
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v2
- name: Setup Unity
uses: kuler90/setup-unity@v1
with:
unity-modules: android
- name: Activate Unity
uses: kuler90/activate-unity@v1
with:
unity-username: ${{ secrets.UNITY_USERNAME }}
unity-password: ${{ secrets.UNITY_PASSWORD }}
unity-authenticator-key: ${{ secrets.UNITY_AUTHENTICATOR_KEY }}
- name: Build Unity
uses: kuler90/build-unity@v1
with:
build-target: Android
build-path: ./scribble.rs-unity-client.apk
- name: Upload build
uses: actions/upload-artifact@v2
with:
name: scribble.rs-unity-client.apk
path: ./scribble.rs-unity-client.apk