Merge pull request #57 from snikket-im/remove-contacts-permissions #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Download WebRTC | |
run: mkdir libs && wget -O libs/libwebrtc-m92.aar https://gultsch.de/files/libwebrtc-m92.aar | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build Snikket | |
run: ./gradlew assembleConversationsFreeDebug | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: Snikket all-flavors (debug) | |
path: ./build/outputs/apk/**/debug/Snikket-*.apk | |