Update all dependencies - autoclosed #204
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: HealthConnectSample | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'health-connect/HealthConnectSample/**' | |
- '.github/workflows/HealthConnectSample.yml' | |
pull_request: | |
paths: | |
- 'health-connect/HealthConnectSample/**' | |
- '.github/workflows/HealthConnectSample.yml' | |
env: | |
SAMPLE_PATH: health-connect/HealthConnectSample | |
jobs: | |
build: | |
# Skip build if head commit contains 'skip ci' | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
timeout-minutes: 40 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Unit Tests | |
uses: gradle/gradle-build-action@v3 | |
with: | |
build-root-directory: ${{ env.SAMPLE_PATH }} | |
arguments: testDebug | |
- name: Upload test results and reports | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-results | |
path: | | |
**/build/test-results/* | |
**/build/reports/* | |
**/out/* |