rename
This commit is contained in:
30
.github/workflows/validate-android.yml
vendored
Normal file
30
.github/workflows/validate-android.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Android
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build (${{ matrix.mode }})
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
mode: [Debug, Release]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup-android
|
||||
|
||||
- name: Build
|
||||
run: ./gradlew assemble${{ matrix.mode }}
|
||||
|
||||
format:
|
||||
name: Format
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: google-java-format
|
||||
run: npx --yes google-java-format --set-exit-if-changed --dry-run --glob=java/**/*.java
|
Reference in New Issue
Block a user