mirror of
https://github.com/gradle/actions.git
synced 2025-02-03 15:26:42 -05: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
4 changed files with 8 additions and 5 deletions
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:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
paths:
|
||||
- 'dist/**'
|
||||
|
||||
|
|
1
.github/workflows/ci-update-dist.yml
vendored
1
.github/workflows/ci-update-dist.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'prerelease/**'
|
||||
- 'release/**'
|
||||
paths-ignore:
|
||||
- 'dist/**'
|
||||
|
|
|
@ -15,8 +15,8 @@ buildscript {
|
|||
if (pluginRepositoryUsername && pluginRepositoryPassword) {
|
||||
logger.lifecycle("Applying credentials for plugin repository: ${pluginRepositoryUrl}")
|
||||
credentials {
|
||||
username(pluginRepositoryUsername)
|
||||
password(pluginRepositoryPassword)
|
||||
username = pluginRepositoryUsername
|
||||
password = pluginRepositoryPassword
|
||||
}
|
||||
authentication {
|
||||
basic(BasicAuthentication)
|
||||
|
|
|
@ -45,12 +45,12 @@ initscript {
|
|||
|
||||
repositories {
|
||||
maven {
|
||||
url pluginRepositoryUrl
|
||||
url = pluginRepositoryUrl
|
||||
if (pluginRepositoryUsername && pluginRepositoryPassword) {
|
||||
logger.lifecycle("Using credentials for plugin repository")
|
||||
credentials {
|
||||
username(pluginRepositoryUsername)
|
||||
password(pluginRepositoryPassword)
|
||||
username = pluginRepositoryUsername
|
||||
password = pluginRepositoryPassword
|
||||
}
|
||||
authentication {
|
||||
basic(BasicAuthentication)
|
||||
|
|
Loading…
Reference in a new issue