mirror of
https://github.com/gradle/actions.git
synced 2025-04-19 17:29:20 +08:00
Fix space assignment deprecations in init-scripts (#542)
Fixes the Groovy syntax in 2 init-scripts to avoid deprecation warnings. The fix to the DV injection script is temporary, and will be replaced by a fix in the upstream reference script. Fixes #541
This commit is contained in:
commit
94baf225fe
2
.github/workflows/ci-integ-test-full.yml
vendored
2
.github/workflows/ci-integ-test-full.yml
vendored
@ -3,6 +3,8 @@ name: CI-integ-test-full
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
paths:
|
paths:
|
||||||
- 'dist/**'
|
- 'dist/**'
|
||||||
|
|
||||||
|
1
.github/workflows/ci-update-dist.yml
vendored
1
.github/workflows/ci-update-dist.yml
vendored
@ -5,6 +5,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
- 'prerelease/**'
|
||||||
- 'release/**'
|
- 'release/**'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'dist/**'
|
- 'dist/**'
|
||||||
|
@ -15,8 +15,8 @@ buildscript {
|
|||||||
if (pluginRepositoryUsername && pluginRepositoryPassword) {
|
if (pluginRepositoryUsername && pluginRepositoryPassword) {
|
||||||
logger.lifecycle("Applying credentials for plugin repository: ${pluginRepositoryUrl}")
|
logger.lifecycle("Applying credentials for plugin repository: ${pluginRepositoryUrl}")
|
||||||
credentials {
|
credentials {
|
||||||
username(pluginRepositoryUsername)
|
username = pluginRepositoryUsername
|
||||||
password(pluginRepositoryPassword)
|
password = pluginRepositoryPassword
|
||||||
}
|
}
|
||||||
authentication {
|
authentication {
|
||||||
basic(BasicAuthentication)
|
basic(BasicAuthentication)
|
||||||
|
@ -45,12 +45,12 @@ initscript {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url pluginRepositoryUrl
|
url = pluginRepositoryUrl
|
||||||
if (pluginRepositoryUsername && pluginRepositoryPassword) {
|
if (pluginRepositoryUsername && pluginRepositoryPassword) {
|
||||||
logger.lifecycle("Using credentials for plugin repository")
|
logger.lifecycle("Using credentials for plugin repository")
|
||||||
credentials {
|
credentials {
|
||||||
username(pluginRepositoryUsername)
|
username = pluginRepositoryUsername
|
||||||
password(pluginRepositoryPassword)
|
password = pluginRepositoryPassword
|
||||||
}
|
}
|
||||||
authentication {
|
authentication {
|
||||||
basic(BasicAuthentication)
|
basic(BasicAuthentication)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user