1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-25 04:06:08 +00:00
Commit Graph

103 Commits

Author SHA1 Message Date
Denis N. Antonioli
f067d71b28 spaces 2023-01-12 21:22:15 -08:00
Denis N. Antonioli
5624575b08 1252: Use eclipse-temurin:17-jre-jammy and generate both amd64 and
arm64 images
2023-01-12 21:09:13 -08:00
Gábor Lipták
be8c618134
Update to remove deprecated set-output in GHA
Signed-off-by: Gábor Lipták gliptak@gmail.com
2022-10-24 21:17:59 -04:00
Gábor Lipták
29dc03bde5
Drop Ubuntu 18.04 from GHA 2022-09-28 20:01:56 -04:00
Gábor Lipták
d0a50693a9
Run gradle signMavenPublication at info level 2022-09-27 19:25:52 -04:00
Gábor Lipták
38e01ca98c
Publish to OSSRH
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-09-26 19:51:56 -04:00
Gábor Lipták
31999b4cf4 Add Dockerhub release to GHA
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-09-24 10:04:01 -04:00
soloturn
e87413acda update gradle to 7.5.1, assertj, jupiter, setup-java.
gradle-7.5.1 supports java-18.
2022-09-17 19:01:12 +02:00
Arnaud Roques
d586be399b run Gradle with INFO logging level 2022-08-29 18:33:02 +02:00
PlantUML
5718bbe08c
Merge pull request #1069 from gliptak/patch-1
Add ubuntu-22.04 to GHA build matrix
2022-07-31 22:43:33 +02:00
Gábor Lipták
ba5fef7181
Add Docker release to GHA
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-07-29 21:44:46 -04:00
Gábor Lipták
44affec416
Add ubuntu-22.04 to GHA build matrix
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2022-07-29 20:48:14 -04:00
Arnaud Roques
04c4a6c156 Temporary remove macos-12 because Java 8 is not running there. Anyone, feel free to fix this :-) 2022-07-21 17:25:18 +02:00
Arnaud Roques
36652c6faa Move to macos-12 2022-07-21 17:16:42 +02:00
The-Lum
3dd8b13f6c
upd: add Checkout before Configure workflow
- Adding `Checkout the repository` _(I don't know if it optimized or not...)_ before the `Configure workflow`
- Fix variable in Uppercase
2022-06-06 20:00:16 +02:00
The-Lum
5e06dae809
upd: add a pseudo version of snapshot
Add a pseudo version of snapshot taken from Version.java
2022-06-06 14:07:52 +02:00
matthew16550
ccd0ac83ad Make CI test results more visible 2022-05-05 18:25:40 +10:00
soloturn
d24c12e3c7 gradle-7.4.2, github actions current version 2022-04-17 22:10:14 +02:00
dependabot[bot]
1a8da77432
Bump actions/setup-java from 3.0.0 to 3.1.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 01:32:42 +00:00
soloturn
9c651045c5 upload script was renamed, adapt workflow file 2022-03-12 06:22:34 +01:00
soloturn
9cced3dfe8 remove maven build 2022-03-11 06:42:52 +01:00
dependabot[bot]
70a9682c80 Bump actions/setup-java from 2.5.0 to 3.0.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.5.0 to 3.0.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.5.0...v3.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 06:18:23 +01:00
soloturn
18e6c41bfb use gradle in-memory asci-armored keys to sign artifacts
on the commadn line this allows as before:
  gradle -q signMavenPublication signPdfJar -Psigning.gnupg.keyName=... - -Psigning.gnupg.passphrase=...

on github this allows to put the key and password into environment variables:
  ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }}
  ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
  gradle -q signMavenPublication signPdfJar
2022-02-14 13:46:59 +01:00
soloturn
2c44343fad gradle, sign plantuml-pdf.jar, and gh upload 2022-02-14 13:33:27 +01:00
soloturn
357720e4cb gradle upload artifacts in any case, like mvn did before 2022-02-13 15:44:16 +01:00
soloturn
8417f23d3e gradle, github publish plantuml-pdf jar
plantuml-pdf-<version>.jar is not signed at the moment.
2022-02-13 15:44:12 +01:00
soloturn
ba4c7da3e4 gradle, separate test, and build/upload 2022-02-12 09:46:43 +01:00
soloturn
defeb87909 gradle, clean, maven publication, same version for build/sign 2022-02-12 08:13:40 +01:00
soloturn
fc674de09f sign step checks environment var from gpg step 2022-02-11 13:00:55 +01:00
soloturn
8603c8da91 gradle, build and sign artifacts in 2 steps
release is not from windows 2019, daemon can be used
2022-02-11 12:10:58 +01:00
soloturn
12fce2cfd6 no gradle daemon so windows 2019 can use the cache.
in case somebody wonders about the confusing message that a daemon
is started, an explanation here:
https://discuss.gradle.org/t/no-daemon-switch-ineffective-if-jvm-settings-cause-new-fork/14919/7
2022-02-11 10:00:05 +01:00
soloturn
7d256adde6 switch default build to gradle, fixes #47 2022-02-11 09:41:40 +01:00
soloturn
b27c1fc50d revert github workflows to use java8, java11, java17
github workflow should use the various java versions to test,
which permits to test especially 2d rendering differences.

the javac release flag is set to produce java8 binaries in
any case. not perfect, but we only loose a warning that
applets are to be removed after java17, trivial to display
by adding the javac release property, when using java17:

  mvn --batch-mode compile -Dmaven.compiler.release=17
  gradle clean build -x javaDoc -PjavacRelease=17

better would be to separate build and test, as suggested
by https://github.com/matthew16550, here:
https://github.com/plantuml/plantuml/pull/904
2022-02-11 08:13:03 +01:00
soloturn
2baa696e60 github workflow with various release again
it runs on all platforms with java-17, but the javac release flag
is set to 8, 11, and 17 respectively. artifact upload happens
from latest ubuntu LTS, 20.04, java-8.
2022-02-08 12:53:41 +01:00
soloturn
2bdb2f8300 github workflow --release flag needs build with 11
https://github.com/plantuml/plantuml/issues/898
2022-02-05 19:04:17 +01:00
soloturn
1b25c3c00b github workflow can use gradle.
workflow and scripts are duplicated so nothing existing breaks.
ci-gradle triggers are commented apart from the workflow trigger
which allows manual start, so one can compare artifacts.
2022-01-20 06:45:51 +01:00
matthew16550
fe66147806 Fix snapshot release when workflow does not sign artifacts 2021-12-09 21:03:26 +11:00
matthew16550
cb1468d8b3 Add artifact signing to CI workflow & publish signature files in snapshot releases. 2021-12-09 11:54:04 +11:00
The-Lum
1854dcc2b9
Sup Upload simple jar and no ci on .md or docs
Mod:
- Suppress `Upload simple jar` on artifact
- No CI on `.md` or `docs`

Ref.:
- https://github.com/plantuml/plantuml/discussions/653#discussioncomment-1684866
- https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-ignoring-paths
- https://github.blog/changelog/2019-09-30-github-actions-event-filtering-updates/
2021-12-01 22:54:25 +01:00
matthew16550
4be34fa45b Remove "windows-2016" runner from build matrix in github actions because it is deprecated. 2021-12-01 10:16:24 +11:00
matthew16550
54d0bf27b5 Update CI to create snapshot releases in GitHub 2021-11-13 17:37:17 +11:00
matthew16550
33cbfdd951 Minor syntax simplifications in ci.yml 2021-11-13 16:28:35 +11:00
The-Lum
3e9ea863ce
Update ci.yml
Add another artefact, with only the plantuml.jar 
See:
https://github.com/plantuml/plantuml/discussions/653#discussioncomment-1631002
2021-11-12 15:59:02 +01:00
matthew16550
96b5eba7c1 Speed up CI by only running "mvn package" when strictly necessary 2021-11-02 17:59:16 +11:00
matthew16550
0ca723a6d8 Change CI workflow to use multiple java versions & operating systems 2021-10-31 15:28:23 +11:00
dependabot[bot]
1ebd727d9f
Bump actions/setup-java from 2.3.0 to 2.3.1
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-30 01:13:05 +00:00
Matthew Leather
a35fa3e61c
Combine test & release workflows into single CI workflow 2021-09-03 15:57:59 +10:00
matthew16550
62933e2c9e Bump setup-java version to support "temurin" Java 2021-08-30 16:00:47 +10:00
matthew16550
f3226a1fa7 Change GitHub Workflows to use "temurin" Java.
(Docs for https://github.com/actions/setup-java were changed a few days ago to warn that "adopt" Java won't be updated anymore)
2021-08-30 15:49:55 +10:00
Asbjørn Ulsberg
9500aac9c4
Use AdoptOpenJDK
As setup-java@2 requires `distribution`, set it to `adopt`.

https://github.com/actions/setup-java/blob/main/README.md#Supported-distributions
2021-07-31 23:47:07 +02:00
dependabot[bot]
39465bdadf
Bump actions/setup-java from 1 to 2.1.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 2.1.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1...v2.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-31 17:10:24 +00:00
matthew16550
b6b8f7f537 Use GitHub workflow to attach JAR to GitHub Releases (resolves #557). 2021-05-23 15:30:08 +10:00
Arnaud Roques
c4540da8d7 Add a first Github Action for JUnit 2021-03-21 14:03:23 +01:00