Skip to content

Update build.yml

Update build.yml #525

Workflow file for this run

R# This is a basic workflow to help you get started with Actions
name: CI

Check failure on line 3 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
on:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 17
distribution: 'corretto'
- uses: actions/checkout@v2
- name: Run build
run: ./gradlew build assembleDebug assembleDebugAndroidTest --no-daemon
env:
SERVER_URL: 'http://example.com'
API_KEY: 'apikey'