Backport release automation and github actions
Closes gh-11501
This commit is contained in:
9
.github/workflows/pr-build-workflow.yml
vendored
9
.github/workflows/pr-build-workflow.yml
vendored
@@ -17,12 +17,13 @@ jobs:
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: '11'
|
||||
- name: Cache Gradle packages
|
||||
- name: Setup Gradle
|
||||
if: env.RUN_JOBS == 'true'
|
||||
uses: actions/cache@v2
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
path: ~/.gradle/caches
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||
cache-read-only: true
|
||||
env:
|
||||
GRADLE_USER_HOME: ~/.gradle
|
||||
- name: Build with Gradle
|
||||
if: env.RUN_JOBS == 'true'
|
||||
run: ./gradlew clean build --continue --scan
|
||||
|
||||
Reference in New Issue
Block a user