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

@@ -20,6 +20,10 @@
// necessary, but the <font-version> has not changed.
version = "3.19"
if( !rootProject.hasProperty( "release" ) )
version = version.toString() + "-SNAPSHOT"
plugins {
`java-library`
`flatlaf-module-info`
@@ -38,6 +42,10 @@ java {
}
tasks {
all {
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
}
named<Jar>( "sourcesJar" ) {
exclude( "**/*.ttf", "**/*.otf" )
}

View File

@@ -20,6 +20,10 @@
// necessary, but the <font-version> has not changed.
version = "2.242"
if( !rootProject.hasProperty( "release" ) )
version = version.toString() + "-SNAPSHOT"
plugins {
`java-library`
`flatlaf-module-info`
@@ -38,6 +42,10 @@ java {
}
tasks {
all {
onlyIf { !rootProject.hasProperty( "skipFonts" ) }
}
named<Jar>( "sourcesJar" ) {
exclude( "**/*.ttf", "**/*.otf" )
}