chore(deps): update dependency gradle to v8.12 #116
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: work-manager build | |
on: | |
push: | |
branches: | |
- '*' | |
paths: | |
- 'work-manager/**' | |
- '!**.md' | |
- '!**.json' | |
pull_request: | |
paths: | |
- 'work-manager/**' | |
- '!**.md' | |
- '!**.json' | |
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: 120 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Copy CI gradle.properties | |
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'zulu' | |
- name: Build | |
env: | |
PROJECT_DIR: work-manager | |
run: | | |
cd work-manager | |
./gradlew --scan --stacktrace \ | |
assemble \ | |
lintDebug | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: | | |
work-manager/**/build/test-results/* | |
work-manager/**/build/reports/* |