Fonts: fixed GitHub Actions:

- ci.yml: skip fonts in snapshot and release jobs
- fonts.yml: build on all branches/PRs; publish snapshots
- fixed version for font snapshots
This commit is contained in:
Karl Tauber
2022-11-19 10:48:07 +01:00
parent 24bc7fb0b5
commit b515e8be04
6 changed files with 42 additions and 15 deletions

View File

@@ -80,7 +80,7 @@ publishing {
val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
url = uri( if( java.lang.Boolean.getBoolean( "release" ) ) releasesRepoUrl else snapshotsRepoUrl )
url = uri( if( rootProject.hasProperty( "release" ) ) releasesRepoUrl else snapshotsRepoUrl )
credentials {
// get from gradle.properties
@@ -108,5 +108,5 @@ signing {
// disable signing of snapshots
tasks.withType<Sign>().configureEach {
onlyIf { java.lang.Boolean.getBoolean( "release" ) }
onlyIf { rootProject.hasProperty( "release" ) }
}