Publish on tag

This commit is contained in:
Lukas Rieger (Blue) 2024-04-04 00:19:54 +02:00
parent 030f29e7f3
commit b200d339f1
No known key found for this signature in database
GPG Key ID: AA33883B1BBA03E6
2 changed files with 4 additions and 2 deletions

View File

@ -2,8 +2,9 @@ name: Publish
on:
workflow_dispatch:
release:
types: [published]
push:
tags:
- '**'
jobs:
build:

View File

@ -89,6 +89,7 @@ tasks.javadoc {
"https://javadoc.io/doc/com.flowpowered/flow-math/1.0.3/",
"https://javadoc.io/doc/com.google.code.gson/gson/2.8.0/",
)
addStringOption("Xdoclint:none", "-quiet")
if (JavaVersion.current().isJava9Compatible)
addBooleanOption("html5", true)
}