From 7e644a6644a18a5ca4c9c201295feaddde8fd435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Fichot?= Date: Fri, 29 Dec 2023 00:14:03 +0100 Subject: [PATCH] fix: CLI path --- action.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index bdcfba8..af57965 100644 --- a/action.yml +++ b/action.yml @@ -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