Also publish to rife2's repo

This commit is contained in:
Erik C. Thauvin 2023-08-12 11:40:04 -07:00
parent 079671626a
commit ca65b86e1d
3 changed files with 6 additions and 2 deletions

View file

@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
java-version: [ 17, 19, 20 ]
java-version: [ 17, 20 ]
steps:
- name: Checkout source repository

View file

@ -1,4 +1,4 @@
name: Publish to the Maven Central
name: Publish to the Maven Central/Rife2
on:
workflow_dispatch:

View file

@ -36,6 +36,10 @@ public class TemplateRenderersBuild extends Project {
.withCredentials(property("sonatypeUser"), property("sonatypePassword"))
: repository(SONATYPE_RELEASES.location())
.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()
.groupId("com.uwyn.rife2")
.artifactId("rife2-renderers")