Skip to content

Commit 59dac82

Browse files
Updated environment variable names for compatibility with github actions.
1 parent 4287e8b commit 59dac82

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ subprojects {
5858
name = "GitHubPackages-onixlabs-corda-core"
5959
url = uri("https://maven.pkg.github.com/onix-labs/onixlabs-corda-core")
6060
credentials {
61-
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
62-
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
61+
username = project.findProperty("gpr.user") ?: System.getenv("GHA_USERNAME")
62+
password = project.findProperty("gpr.key") ?: System.getenv("GHA_TOKEN")
6363
}
6464
}
6565
}

onixlabs-corda-identity-framework-contract/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ publishing {
4343
name = "GitHubPackages"
4444
url = uri("https://maven.pkg.github.com/onix-labs/onixlabs-corda-identity-framework")
4545
credentials {
46-
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
47-
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
46+
username = project.findProperty("gpr.user") ?: System.getenv("GHA_USERNAME")
47+
password = project.findProperty("gpr.key") ?: System.getenv("GHA_TOKEN")
4848
}
4949
}
5050
}

onixlabs-corda-identity-framework-integration/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ publishing {
2323
name = "GitHubPackages"
2424
url = uri("https://maven.pkg.github.com/onix-labs/onixlabs-corda-identity-framework")
2525
credentials {
26-
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
27-
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
26+
username = project.findProperty("gpr.user") ?: System.getenv("GHA_USERNAME")
27+
password = project.findProperty("gpr.key") ?: System.getenv("GHA_TOKEN")
2828
}
2929
}
3030
}

onixlabs-corda-identity-framework-workflow/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ publishing {
4343
name = "GitHubPackages"
4444
url = uri("https://maven.pkg.github.com/onix-labs/onixlabs-corda-identity-framework")
4545
credentials {
46-
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
47-
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
46+
username = project.findProperty("gpr.user") ?: System.getenv("GHA_USERNAME")
47+
password = project.findProperty("gpr.key") ?: System.getenv("GHA_TOKEN")
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)