File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Nightly Build
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ nightlyBuild :
11+ name : Generate Nightly Build
12+ runs-on : ubuntu-latest
13+ if : ${{ false }}
14+ steps :
15+ - uses : actions/checkout@v2
16+ with :
17+ fetch-depth : 1
18+
19+ - name : set up JDK
20+ uses : actions/setup-java@v2
21+ with :
22+ java-version : ' 11'
23+ distribution : ' adopt'
24+ cache : gradle
25+
26+ - name : Decode google-services.json
27+ run : echo ${{ secrets.FIREBASE_SECRET }} > ${{ github.workspace }}/app/google-services.json
28+
29+ - name : Build Apk
30+ run : ./gradlew assembleProductionDebug --stacktrace
31+
32+ - name : Finding Apk
33+ id : apk_finder
34+ run : echo ::set-output name=APK_PATH::`find . -type f -iname *.apk`
35+
36+ - name : Send Apk in Telegram
37+ 38+ with :
39+ to : ${{ secrets.TELEGRAM_TO }}
40+ token : ${{ secrets.TELEGRAM_TOKEN }}
41+ document : ${{ steps.apk_finder.outputs.APK_PATH }}
You can’t perform that action at this time.
0 commit comments