Skip to content

Update actions/cache action to v3 (#113) #77

Update actions/cache action to v3 (#113)

Update actions/cache action to v3 (#113) #77

Workflow file for this run

name: Docs
on:
push:
branches: [trunk]
jobs:
docs:
runs-on: ubuntu-latest
env:
UML_FILES: "**.wsd"
OUTPUT_DIR: "docs"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Make sure output directory exists
run: mkdir -p ${{ env.OUTPUT_DIR }}
- name: Generate PNG Diagrams
uses: cloudbees/plantuml-github-action@v1.1.0
with:
args: -v -tpng -o ${{ env.OUTPUT_DIR }} ${{ env.UML_FILES }}
- name: Push Local Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update rendered PlantUML diagrams"
branch: ${{ github.head_ref }}