mirror of
https://github.com/gradle/actions.git
synced 2026-04-19 18:12:58 +08:00
Debugging
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+9
-2
@@ -1,11 +1,18 @@
|
||||
import * as core from '@actions/core'
|
||||
import * as path from 'path'
|
||||
|
||||
export async function restoreCachedWrapperDist(
|
||||
executableDirectory: string
|
||||
): Promise<void> {
|
||||
core.saveState('GC_WRAPPER_BASE_DIR', executableDirectory)
|
||||
core.saveState('WRAPPER_BASE_DIR', executableDirectory)
|
||||
core.info(`WRAPPER_BASE_DIR = ${core.getState('WRAPPER_BASE_DIR')}`)
|
||||
const wrapperProperties = path.join(
|
||||
executableDirectory,
|
||||
'gradle/wrapper/gradle-wrapper.properties'
|
||||
)
|
||||
core.info(`wrapper properties = ${wrapperProperties}`)
|
||||
}
|
||||
|
||||
export async function cacheWrapperDist(): Promise<void> {
|
||||
core.info(`GC_WRAPPER_BASE_DIR = ${core.getState('GC_WRAPPER_BASE_DIR')}`)
|
||||
core.info(`WRAPPER_BASE_DIR = ${core.getState('WRAPPER_BASE_DIR')}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user