Skip to content

Commit

Permalink
[Add] Github Action YAML file
Browse files Browse the repository at this point in the history
- add backend for SongPlayer.mediaSession
  • Loading branch information
z-huang committed Oct 30, 2020
1 parent f9cf3e7 commit fade1bb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Check Lint
run: sudo ./gradlew lintDebug
- name: Run tests
run: sudo ./gradlew test
- name: Build with Gradle
run: sudo ./gradlew build

0 comments on commit fade1bb

Please sign in to comment.