mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-06-07 16:56:12 +02: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:
parent
996094e8e8
commit
b0c29bffb7
3 changed files with 16 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue