From 9e611d4649031d7efbd317f38ad1c1aa1166de3b Mon Sep 17 00:00:00 2001 From: Fred Blaise Date: Sat, 9 May 2020 07:59:38 +0200 Subject: [PATCH 1/3] Change parent docker image to get newer version of plantUML --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d48ea0e..f5c69d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM python:3.8-slim +FROM ubuntu:groovy +# Current plantUML version at time of switch: PlantUML Version 1.2020.02 # Note: GitHub Actions must be run by the default Docker user (root). Ensure your Dockerfile does not set the USER instruction, otherwise you will not be able to access GITHUB_WORKSPACE. # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199 From a1bce2fbb6d684a4f1e3a06bde0c87772b5ed57e Mon Sep 17 00:00:00 2001 From: Fred Blaise Date: Sat, 9 May 2020 08:04:20 +0200 Subject: [PATCH 2/3] fixing README + add CODEOWNERS --- .github/CODEOWNERS | 1 + README.md | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..81d02bd --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @ccojocar @madchap diff --git a/README.md b/README.md index 2575e22..0857849 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,6 @@ jobs: steps: - name: Checkout Source uses: actions/checkout@v1 - - name: Generate SVG Diagrams - uses: cloudbees/plantuml-github-action@master - with: - args: -v -tsvg $UML_FILES - name: Get changed UML files id: getfile run: | @@ -45,10 +41,14 @@ jobs: - name: UML files considered echo output run: | echo ${{ steps.getfile.outputs.files }} + - name: Generate SVG Diagrams + uses: cloudbees/plantuml-github-action@master + with: + args: -v -tsvg ${{ steps.getfile.outputs.files }} - name: Generate PNG Diagrams uses: cloudbees/plantuml-github-action@master with: - args: -v -tpng $UML_FILES + args: -v -tpng ${{ steps.getfile.outputs.files }} - name: Push Local Changes uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: From 338d771fb047d53615acc3b57569da4ff87268c5 Mon Sep 17 00:00:00 2001 From: Fred Blaise Date: Sat, 9 May 2020 08:42:15 +0200 Subject: [PATCH 3/3] typo fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0857849..6ed4178 100644 --- a/README.md +++ b/README.md @@ -59,4 +59,4 @@ jobs: branch: ${{ github.head_ref }} ``` -The last setp will commit the generated images back into the master branch. +The last step will commit the generated images back into the master branch.