forked from ThatMG393-2/FOGLTLOGLES-RendererPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (47 loc) · 1.18 KB
/
Copy pathbuild.yml
File metadata and controls
56 lines (47 loc) · 1.18 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Build Plugin
on:
workflow_dispatch:
push:
paths-ignore:
- '**.md'
- 'update_submodules.yml'
- '.vscode/*'
- '.devcontainer*/*'
workflow_run:
workflows: ["Update FOGLTLOGLES"]
types:
- completed
jobs:
build:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Install CCache
uses: Chocobo1/setup-ccache-action@v1
with:
override_cache_key: ccache-FOGLTLOGLES-RendererPlugin-cache
- uses: nttld/setup-ndk@v1
with:
ndk-version: r28b
- name: Validate GradleW
uses: gradle/actions/wrapper-validation@v4
- name: Build
run: |
bash setup.sh
bash gradlew assembleDebug
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: FOGLTLOGLES-RendererPlugin Build
path: app/build/outputs/apk/*/*.apk