Skip to content

Commit

Permalink
Fixed an error in publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Taskeren committed Aug 16, 2024
1 parent e505bb5 commit 454c5fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: ./gradlew --info --stacktrace publish
continue-on-error: true
env:
vogRepositoryUsername: ${{ secrets.MAVEN_USER }}
vogRepositoryPassword: ${{ secrets.MAVEN_PASSWORD }}
if: ${{ env.vogRepositoryUsername != '' }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
if: ${{ env.MAVEN_USER != '' }}

6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ publishing {
maven {
name = "vogRepository"
url = uri("https://mvn.taskeren.cn/snapshots")
credentials(PasswordCredentials::class)
authentication {
create<BasicAuthentication>("basic")
credentials {
username = System.getenv("MAVEN_USER") ?: "NONE"
password = System.getenv("MAVEN_PASSWORD") ?: "NONE"
}
}
}
Expand Down

0 comments on commit 454c5fe

Please sign in to comment.