mirror of
https://github.com/gradle/actions.git
synced 2025-12-08 17:15:46 +08:00
Fix setting env vars for plugin repository (#669)
- Removed double underscore from DEVELOCITY_INJECTION_PLUGIN_REPOSITORY_* env vars - Set GRADLE_PLUGIN_REPOSITORY_* env vars
This commit is contained in:
@@ -40,6 +40,10 @@ export async function setup(config: DependencyGraphConfig): Promise<void> {
|
||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects())
|
||||
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations())
|
||||
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', config.getIncludeConfigurations())
|
||||
|
||||
maybeExportVariable('GRADLE_PLUGIN_REPOSITORY_URL', config.getPluginRepository().getUrl())
|
||||
maybeExportVariable('GRADLE_PLUGIN_REPOSITORY_USERNAME', config.getPluginRepository().getUsername())
|
||||
maybeExportVariable('GRADLE_PLUGIN_REPOSITORY_PASSWORD', config.getPluginRepository().getPassword())
|
||||
}
|
||||
|
||||
function maybeExportVariable(variableName: string, value: string | boolean | undefined): void {
|
||||
|
||||
Reference in New Issue
Block a user