Skip to content

fix: Improved place parser #1175

fix: Improved place parser

fix: Improved place parser #1175

Workflow file for this run

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Build demos
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
repository_dispatch:
types: [ build ]
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build-demo-java:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'
- name: Install NDK
run: |
sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;20.0.5594570"
- name: Build and check
run: cd demo-java && ./gradlew assemble lint
- name: Upload build reports
if: always()
uses: actions/upload-artifact@v4
with:
name: demo-java-build-reports
path: demo-java/app/build/reports
build-demo-kotlin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'
- name: Install NDK
run: |
sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;20.0.5594570"
- name: Build and check
run: cd demo-kotlin && ./gradlew assemble lint
- name: Upload build reports
if: always()
uses: actions/upload-artifact@v4
with:
name: demo-kotlin-build-reports
path: demo-kotlin/app/build/reports
build-snippets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'
- name: Install NDK
run: |
sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;20.0.5594570"
- name: Build and check
run: cd snippets && ./gradlew assemble lint
- name: Upload build reports
if: always()
uses: actions/upload-artifact@v4
with:
name: snippets-build-reports
path: snippets/app/build/reports
test: # used as required status check
runs-on: ubuntu-latest
needs:
- build-demo-java
- build-demo-kotlin
- build-snippets
steps:
- run: echo "Fail if all other steps are not successful"