This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
add timeout after scrolling #21
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: Library is compiling | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: {} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | |
jobs: | |
assemble-library: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- uses: gradle/[email protected] | |
# Don't spend more than 5m rehydrating the cache. Otherwise just move on. | |
timeout-minutes: 5 | |
continue-on-error: true | |
- run: ./gradlew clean assemble |