Skip to content

proposal for correlating synthetics traces (#825) #3

proposal for correlating synthetics traces (#825)

proposal for correlating synthetics traces (#825) #3

name: Generate PlantUML Diagrams
on:
push:
paths:
- "**.puml"
jobs:
plantuml:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Get changed UML files
id: getfile
run: |
echo "::set-output name=files::$(git diff --name-only HEAD^1 HEAD | grep .puml | xargs)"
- name: Generate SVG Diagrams
uses: holowinski/plantuml-github-action@4313057c5689e84119ace1c22416d5158da9e5ee
with:
args: -v -tsvg ${{steps.getfile.outputs.files}}
- name: Push Local Changes
uses: stefanzweifel/[email protected]
with:
commit_message: "Generate SVG files for PlantUML diagrams"
branch: ${{ github.head_ref }}