mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-11-20 15:31:28 +08:00
Use a properties file to disable daemon execution
Instead of passing `--no-daemon` on the command line, the same functionality is now acheived by writing a gradle.properties file when initializing Gradle User Home.
This commit is contained in:
@@ -6,9 +6,6 @@ import {writeInitScript} from './build-scan-capture'
|
||||
export async function execute(executable: string, root: string, args: string[]): Promise<BuildResult> {
|
||||
let buildScanUrl: string | undefined
|
||||
|
||||
// TODO: instead of running with no-daemon, run `--stop` in post action.
|
||||
args.push('--no-daemon')
|
||||
|
||||
const initScript = writeInitScript()
|
||||
args.push('--init-script')
|
||||
args.push(initScript)
|
||||
|
||||
Reference in New Issue
Block a user