Skip to content

Commit

Permalink
fix: fallback to system env if not set in .env
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed May 30, 2024
1 parent 1a07af0 commit 955a0c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ repositories {
maven {
url = uri("https://maven.pkg.github.com/rdf-connect/jvm-runner")
credentials {
username = env.GITHUB_ACTOR.value
password = env.GITHUB_TOKEN.value
username = env.GITHUB_ACTOR.orElse(System.getenv("GITHUB_ACTOR"))
password = env.GITHUB_TOKEN.orElse(System.getenv("GITHUB_TOKEN"))
}
}
}
Expand Down Expand Up @@ -84,8 +84,8 @@ publishing {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/rdf-connect/jvm-runner")
credentials {
username = env.GITHUB_ACTOR.value
password = env.GITHUB_TOKEN.value
username = env.GITHUB_ACTOR.orElse(System.getenv("GITHUB_ACTOR"))
password = env.GITHUB_TOKEN.orElse(System.getenv("GITHUB_TOKEN"))
}
}
}
Expand Down

0 comments on commit 955a0c1

Please sign in to comment.