Debugging

This commit is contained in:
Paul Merlin 2020-06-13 15:01:08 +02:00
parent 42e2fed267
commit a2ba1beedb
3 changed files with 11 additions and 4 deletions

2
dist/main/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/post/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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')}`)
}