File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : RIA DigiDoc Android
2+ on : [push, pull_request]
3+ env :
4+ BUILD_NUMBER : ${{ github.run_number }}
5+ jobs :
6+ ubuntu :
7+ name : Build on Ubuntu
8+ if : contains(github.repository, 'open-eid/RIA-DigiDoc-Android')
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+ with :
14+ submodules : recursive
15+ - name : Setup environment
16+ env :
17+ GOOGLE_SERVICES_JSON : ${{ secrets.GOOGLE_SERVICES_JSON }}
18+ run : |
19+ cd ${{ github.workspace }}/app
20+ echo -n "$GOOGLE_SERVICES_JSON" | base64 --decode > "google-services.json"
21+ - name : Setup JDK
22+ uses : actions/setup-java@v4
23+ with :
24+ distribution : zulu
25+ java-version : 17
26+ - name : Setup Gradle
27+ uses : gradle/actions/setup-gradle@v4
28+ - name : Test and Build with Gradle
29+ run : ./gradlew clean test createDebugCoverageReport fetchAndPackageDefaultConfiguration assembleDebug --info --quiet
30+
You can’t perform that action at this time.
0 commit comments