Bump actions/setup-java from 4.4.0 to 4.5.0 #597
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: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: | |
- 17 | |
steps: | |
- name: Checkout Project | |
uses: actions/[email protected] | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-home-cache-cleanup: true | |
- run: ./gradlew --version | |
- name: Validate Gradle Wrapper | |
uses: gradle/actions/wrapper-validation@v4 | |
- 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/actions/setup-gradle@v4 | |
- name: Build APK | |
run: ./gradlew assembleDebug -s | |
- name: Upload Artifacts | |
uses: actions/[email protected] | |
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 | |