Also publish to rife2's repo
This commit is contained in:
parent
079671626a
commit
ca65b86e1d
3 changed files with 6 additions and 2 deletions
2
.github/workflows/bld.yml
vendored
2
.github/workflows/bld.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java-version: [ 17, 19, 20 ]
|
java-version: [ 17, 20 ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source repository
|
- name: Checkout source repository
|
||||||
|
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Publish to the Maven Central
|
name: Publish to the Maven Central/Rife2
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
|
@ -36,6 +36,10 @@ public class TemplateRenderersBuild extends Project {
|
||||||
.withCredentials(property("sonatypeUser"), property("sonatypePassword"))
|
.withCredentials(property("sonatypeUser"), property("sonatypePassword"))
|
||||||
: repository(SONATYPE_RELEASES.location())
|
: repository(SONATYPE_RELEASES.location())
|
||||||
.withCredentials(property("sonatypeUser"), property("sonatypePassword")))
|
.withCredentials(property("sonatypeUser"), property("sonatypePassword")))
|
||||||
|
.repository(version.isSnapshot() ? repository(RIFE2_SNAPSHOTS.location())
|
||||||
|
.withCredentials(property("rife2Username"), property("rife2Password"))
|
||||||
|
: repository(RIFE2_RELEASES.location())
|
||||||
|
.withCredentials(property("rife2Username"), property("rife2Password")))
|
||||||
.info(new PublishInfo()
|
.info(new PublishInfo()
|
||||||
.groupId("com.uwyn.rife2")
|
.groupId("com.uwyn.rife2")
|
||||||
.artifactId("rife2-renderers")
|
.artifactId("rife2-renderers")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue