Skip to content

Commit

Permalink
fix: CLI path
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienfi committed Dec 28, 2023
1 parent 0d1b3ee commit 7e644a6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,15 @@ runs:

- name: Generate Diagram Images
run: |
sudo find / -name "structurizr.sh"
/usr/local/structurizr-cli/structurizr.sh export -workspace ${{ inputs.workspace-path }} -format plantuml -output ${{ inputs.output-path }}
echo "Listing /usr/local/"
ls -lha /usr/local/
echo "Listing /usr/local/bin/"
ls -lha /usr/local/bin/
echo "Actual folder is"
echo $PWD
echo "Listing actual older"
ls -lha .
./structurizr.sh export -workspace ${{ inputs.workspace-path }} -format plantuml -output ${{ inputs.output-path }}
cd ${{ inputs.output-path }}
echo 'Generating PNGs...'
plantuml -tpng *.puml
Expand Down

0 comments on commit 7e644a6

Please sign in to comment.