Bump gradle/gradle-build-action from 2.6.1 to 2.7.0 #212
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [ opened, labeled, unlabeled, synchronize ] | |
env: | |
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | |
jobs: | |
android: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: | |
- 17 | |
steps: | |
- name: Checkout Project | |
uses: actions/[email protected] | |
- name: Validate Gradle Wrapper | |
uses: gradle/[email protected] | |
- name: Setup Java ${{ matrix.java-version }} | |
uses: actions/[email protected] | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java-version }} | |
- name: Setup Android SDK | |
uses: android-actions/[email protected] | |
- name: Setup Gradle | |
uses: gradle/[email protected] | |
- name: Build APK | |
run: ./gradlew assembleDebug -s | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: open-quartz-${{ github.workflow }}-${{ github.run_id }} | |
path: | | |
gdk/location/build/outputs | |
gdk/camera-app/build/outputs | |
gdk/glass-memo/build/outputs | |
gdk/hello-glass/build/outputs | |
gdk/voice-example/build/outputs | |
sdk/camera-preview/build/outputs | |
if-no-files-found: warn | |