Skip to content

Commit

Permalink
Update Maven Publishing (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taskeren authored Aug 16, 2024
1 parent aa0cd19 commit 28d4eea
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Build and test

on:
pull_request:
branches: [ master, main ]
branches: [ master, master-fork, main ]
push:
branches: [ master, main ]
branches: [ master, master-fork, main ]

jobs:
build-and-test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- master-fork
tags:
- '*'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: Release tagged build

on:
workflow_dispatch:
push:
tags: [ '*' ]

Expand Down
10 changes: 10 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,23 @@ publishing {
}

repositories {
/*
maven {
url = uri("https://nexus.gtnewhorizons.com/repository/releases/")
credentials {
username = System.getenv("MAVEN_USER") ?: "NONE"
password = System.getenv("MAVEN_PASSWORD") ?: "NONE"
}
}
*/
maven {
name = "vogRepository"
url = uri("https://mvn.taskeren.cn/snapshots")
credentials {
username = System.getenv("MAVEN_USER") ?: "NONE"
password = System.getenv("MAVEN_PASSWORD") ?: "NONE"
}
}
}
}

0 comments on commit 28d4eea

Please sign in to comment.