-
Notifications
You must be signed in to change notification settings - Fork 20
40 lines (33 loc) · 948 Bytes
/
build-example-app.yml
File metadata and controls
40 lines (33 loc) · 948 Bytes
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
name: Build Example App
on:
push:
branches: [ main ]
pull_request:
release:
types: [ released ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-example-app:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout Branch
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
# Build the entire project, run the tests, and run all static analysis
- name: Build example app
working-directory: examples/ExampleApp
run: ./gradlew bundleRelease