forked from Crashedmind/plantuml-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from madchap/master
Parent docker image change for a newer plantUML
- Loading branch information
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @ccojocar @madchap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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. |