Skip to content

Commit

Permalink
Fix buildscript.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Jun 12, 2021
1 parent 7118520 commit cf40d26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradlepublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
REPO_NAME: ${{ github.repository }}
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
SPRUCEUI_MAVEN: ${{ secrets.MAVEN_URL }}
LDL_MAVEN: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -252,18 +252,18 @@ publishing {
}
maven {
name = 'GithubPackages'
url = uri('https://maven.pkg.github.com/LambdAurora/SpruceUI')
url = uri('https://maven.pkg.github.com/LambdAurora/LambDynamicLights')
credentials {
username = project.findProperty('gpr.user') ?: System.getenv('USERNAME')
password = project.findProperty('gpr.key') ?: System.getenv('TOKEN')
}
}

def spruceuiMaven = System.getenv('SPRUCEUI_MAVEN')
if (spruceuiMaven) {
def ldlMaven = System.getenv('LDL_MAVEN')
if (ldlMaven) {
maven {
name = 'SpruceUIMaven'
url = uri(spruceuiMaven)
name = 'LambDynamicLightsMaven'
url = uri(ldlMaven)
credentials {
username = project.findProperty('gpr.user') ?: System.getenv('MAVEN_USERNAME')
password = project.findProperty('gpr.key') ?: System.getenv('MAVEN_PASSWORD')
Expand Down

0 comments on commit cf40d26

Please sign in to comment.