Skip to content

Commit

Permalink
Also publish to rife2's repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Aug 12, 2023
1 parent 0796716 commit ca65b86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
java-version: [ 17, 19, 20 ]
java-version: [ 17, 20 ]

steps:
- name: Checkout source repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish to the Maven Central
name: Publish to the Maven Central/Rife2

on:
workflow_dispatch:
Expand Down
4 changes: 4 additions & 0 deletions src/bld/java/rife/render/TemplateRenderersBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ public TemplateRenderersBuild() {
.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")
Expand Down

0 comments on commit ca65b86

Please sign in to comment.