mirror of
https://github.com/gradle/actions.git
synced 2026-07-27 14:44:31 +02:00
Cache wrapper dist, step 1
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import * as core from '@actions/core'
|
||||
|
||||
export async function restoreCachedWrapperDist(
|
||||
executableDirectory: string
|
||||
): Promise<void> {
|
||||
core.saveState('GC_WRAPPER_BASE_DIR', executableDirectory)
|
||||
}
|
||||
|
||||
export async function cacheWrapperDist(): Promise<void> {
|
||||
core.info(`GC_WRAPPER_BASE_DIR = ${core.getState('GC_WRAPPER_BASE_DIR')}`)
|
||||
}
|
||||
Reference in New Issue
Block a user