fix(deps): update dependency com.android.tools.build:gradle to v8.8.0 #864
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
# Reference: https://github.com/google/accompanist/blob/main/.github/workflows/build.yml | |
name: Build & test | |
on: | |
push: | |
branches: | |
- '*' | |
paths-ignore: | |
- '**.md' | |
- '**.json' | |
pull_request: | |
paths-ignore: | |
- '**.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 | |
matrix: | |
project: ["file-sharing-producer", "file-sharing-consumer"] | |
steps: | |
- uses: actions/checkout@v3 | |
#with: | |
# Fetch expanded history, which is needed for affected module detection | |
#fetch-depth: '500' | |
- 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: ${{ matrix.project }} | |
run: | | |
cd $PROJECT_DIR | |
./gradlew --scan --stacktrace \ | |
assemble \ | |
lintDebug | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: | | |
**/build/test-results/* | |
**/build/reports/* |