File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Android CI
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : set up JDK 11
17+ uses : actions/setup-java@v4
18+ with :
19+ java-version : ' 11'
20+ distribution : ' temurin'
21+ cache : gradle
22+
23+ - name : Create file
24+ run : cat /home/runner/work/PLUTO-Android/PLUTO-Android/app/google-services.json | base64
25+
26+ - name : Putting data
27+ env :
28+ DATA : ${{ secrets.GOOGLE_SERVICES_JSON }}
29+ run : echo $DATA > /home/runner/work/PLUTO-Android/PLUTO-Android/app/google-services.json
30+
31+ - name : Grant execute permission for gradlew
32+ run : chmod +x gradlew
33+ - name : Build with Gradle
34+ run : ./gradlew build
You can’t perform that action at this time.
0 commit comments