-
Notifications
You must be signed in to change notification settings - Fork 61
41 lines (38 loc) · 1.08 KB
/
post_merge.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
36
37
38
39
40
41
name: Post merge
on:
push:
branches:
- 1.x
workflow_dispatch:
jobs:
deploy:
name: Deploy documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: sed -i 's/${POST_MERGE_RUN_ID}/${{ github.run_id }}/g' documentation/how-to-use-appyx/sample-apps.md
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
build-sample-app:
name: Build sample app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
with:
cache-read-only: true
- name: Build
run: ./gradlew :samples:app:assembleRelease
- name: Upload sample app apk
uses: actions/upload-artifact@v3
with:
name: sample-app
path: samples/app/build/outputs/apk/release/app-release.apk