Skip to content

Commit

Permalink
Merge pull request #4 from madchap/master
Browse files Browse the repository at this point in the history
Parent docker image change for a newer plantUML
  • Loading branch information
Cosmin Cojocar authored May 11, 2020
2 parents 4b6c5ee + 338d771 commit e84052d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @ccojocar @madchap
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ 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: |
echo "::set-output name=files::$(git diff-tree -r --no-commit-id --name-only ${{ github.sha }} | grep ${{ env.UML_FILES }} | xargs)"
- 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/[email protected]
with:
Expand All @@ -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.

0 comments on commit e84052d

Please sign in to comment.