Skip to content

Commit c7adf4f

Browse files
authored
Update README.md
1 parent ca54884 commit c7adf4f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
# Android Auto-Build APK
22

3-
This is an example of how to build an APK using GitHub Actions.
4-
Here, we created a simple Android application that displays a Hello World!.
3+
This is an example of how to build an APK using GitHub Actions.
4+
Here, we created a simple Android application that displays a Hello World!.
55
We then created a workflow that builds the APK and uploads it as a new release.
66

7-
87
| Hello World! |
98
| :---: |
109
| ![](screenshots/1.png) |
1110

12-
13-
14-
1511
## How to use
1612

1713
```yml
14+
name: Build project after push
15+
1816
on:
1917
push:
2018
branches:
2119
- main
22-
name: Build project after push
2320
jobs:
2421
build:
2522
runs-on: ubuntu-latest
23+
2624
steps:
2725
- uses: actions/checkout@v3
26+
2827
- name: set up JDK 11
2928
uses: actions/setup-java@v3
3029
with:
@@ -34,8 +33,10 @@ jobs:
3433

3534
- name: Grant execute permission for gradlew
3635
run: chmod +x gradlew
36+
3737
- name: Build with Gradle
3838
run: ./gradlew build
39+
3940
- name: Build debug APK
4041
run: bash ./gradlew assembleDebug --stacktrace
4142

0 commit comments

Comments
 (0)