Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

Commit f7c5e40

Browse files
authored
Update and rename Build-APK-ScriptManager to Build-APK-ScriptManager.yml
1 parent 8e52f76 commit f7c5e40

File tree

2 files changed

+29
-52
lines changed

2 files changed

+29
-52
lines changed

.github/workflows/Build-APK-ScriptManager

Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build-APK-ScriptManager
2+
3+
on:
4+
workflow_dispatch:
5+
repository_dispatch:
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
if: github.ref == 'refs/heads/main'
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: git clone
14+
run: git clone https://github.com/mvwtest/ScriptManager.git
15+
- name: cd clone
16+
run: cd ScriptManager/
17+
- name: Grant execute permission for gradlew
18+
run: chmod +x gradlew
19+
- name: Create google-services.json
20+
run: echo '${{ secrets.GOOGLE_SERVICES_JSON }}' > app/google-services.json
21+
22+
- name: Build APK
23+
run: ./gradlew assembleDebug --stacktrace
24+
25+
- name: Upload APK
26+
uses: actions/[email protected]
27+
with:
28+
name: APK-ScriptManager
29+
path: ScriptManager/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)