Skip to content

Fix the build

Fix the build #49

Workflow file for this run

name: build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Build
run: ./gradlew build
test:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Start WebDAV server
run: |
./scripts/run-webdav-server.sh &
sleep 5
- name: Test WebDAV Server
run: |
curl -u test:test -X PROPFIND http://localhost:8000
- name: Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
profile: pixel_3a
script: ./gradlew connectedCheck