Open nathan815 opened 2 years ago
Also getting the same issue
When I add a PlantUML diagram to a markdown file the action throws the following error:
Error: HttpError: tree.path contains a malformed path component
Seems to be a GitHub API error. It works perfectly fine for .puml files. Here is my workflow:
name: Generate PlantUML on: push jobs: generate_plantuml: runs-on: ubuntu-latest name: plantuml steps: - name: checkout uses: actions/checkout@v1 with: fetch-depth: 1 - name: plantuml id: plantuml uses: grassedge/generate-plantuml-action@v1.5 with: message: "Render PlantUML files" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Also tried with
path: .
set; same error.The .md file in question:
# Test PlantUML Diagram Sequence diagram: ` ` `plantuml:test-md-diagram Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response ` ` ` ![](./test-md-diagram.svg) (rendered diagram should appear above)
Empty folder cannot be tracked by git. I add .gitkeep file to path folder
and then resolved.
When I add a PlantUML diagram to a markdown file the action throws the following error:
Seems to be a GitHub API error. It works perfectly fine for .puml files. Here is my workflow:
Also tried with
path: .
set; same error.The .md file in question: