Skip to content

Commit 37c3db1

Browse files
authored
Update android.yml
1 parent 2f984a8 commit 37c3db1

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/android.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- name: Set up JDK 11
17-
uses: actions/setup-java@v3
18-
with:
19-
java-version: '11'
20-
distribution: 'temurin'
21-
cache: gradle
22-
- name: Grant execute permission for gradlew
23-
run: chmod +x gradlew
24-
- name: Build with Gradle
25-
run: ./gradlew build
26-
- name: Generate APK Debug Build with Gradle
27-
if: startsWith(github.ref, 'refs/tags/')
28-
run: ./gradlew assembleDebug
29-
- name: Upload to Github Page
30-
uses: softprops/action-gh-release@v1
31-
if: startsWith(github.ref, 'refs/tags/')
32-
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
with:
35-
files: ${{ env.main_project_module }}/build/outputs/apk/debug/app-debug.apk
36-
draft: true
37-
prerelease: true
15+
- uses: actions/checkout@v3
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v3
18+
with:
19+
java-version: '11'
20+
distribution: 'temurin'
21+
cache: gradle
22+
- name: Grant execute permission for gradlew
23+
run: chmod +x gradlew
24+
- name: Build with Gradle
25+
run: ./gradlew build
26+
- name: Generate APK Debug Build with Gradle
27+
if: startsWith(github.ref, 'refs/tags/')
28+
run: ./gradlew assembleDebug
29+
- name: Upload to Github Page
30+
uses: softprops/action-gh-release@v1
31+
if: startsWith(github.ref, 'refs/tags/')
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
with:
35+
files: ${{ env.main_project_module }}/build/outputs/apk/debug/app-debug.apk
36+
draft: true
37+
prerelease: true

0 commit comments

Comments
 (0)