Add caching of Gradle build configuration cache

This commit is contained in:
Paul Merlin 2020-06-15 15:58:20 +02:00
parent 806543fb3a
commit 4c7d97cca4
7 changed files with 125 additions and 13 deletions

View file

@ -1,5 +1,6 @@
import * as exec from '@actions/exec'
import * as cacheDependencies from './cache-dependencies'
import * as cacheConfiguration from './cache-configuration'
export async function execute(
executable: string,
@ -7,6 +8,7 @@ export async function execute(
argv: string[]
): Promise<BuildResult> {
await cacheDependencies.restoreCachedDependencies(root)
await cacheConfiguration.restoreCachedConfiguration(root)
let publishing = false
let buildScanUrl: string | undefined