File tree Expand file tree Collapse file tree 3 files changed +54
-2
lines changed Expand file tree Collapse file tree 3 files changed +54
-2
lines changed Original file line number Diff line number Diff line change 1- name : Build example app
1+ name : Build Example Android Apk
22
33on :
44 push :
Original file line number Diff line number Diff line change 1+ # Simple workflow for deploying static content to GitHub Pages
2+ name : Build Doc Page
3+
4+ on :
5+ # Only run this workflow manually from the Actions tab
6+ workflow_dispatch :
7+
8+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
15+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
16+ concurrency :
17+ group : " pages"
18+ cancel-in-progress : false
19+
20+ jobs :
21+ build :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v4
26+ - name : Set up JDK
27+ uses : actions/setup-java@v4
28+ with :
29+ distribution : ' zulu'
30+ java-version : ' 21'
31+ - name : Setup Gradle
32+ uses : gradle/actions/setup-gradle@v4
33+ - name : Build Dokka
34+ run : |
35+ ./gradlew :miuix:dokkaHtml
36+ - name : Setup Pages
37+ uses : actions/configure-pages@v5
38+ - name : Upload artifact
39+ uses : actions/upload-pages-artifact@v3
40+ with :
41+ path : ./miuix/build/dokka/html
42+
43+ deploy :
44+ environment :
45+ name : github-pages
46+ url : ${{ steps.deployment.outputs.page_url }}
47+ runs-on : ubuntu-latest
48+ needs : build
49+ steps :
50+ - name : Deploy to GitHub Pages
51+ id : deployment
52+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1- name : Build test
1+ name : Build All Tests
22
33on :
44 push :
You can’t perform that action at this time.
0 commit comments