From cd22e8b9f5be74740cff86e0fce5384336fff178 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 15 Jul 2024 19:55:57 +0530 Subject: [PATCH] fix: attempt to fix manifest hash computation --- action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 55d08e0..066db18 100644 --- a/action.yml +++ b/action.yml @@ -45,9 +45,11 @@ runs: run: | manifest_path=$(find ${{ inputs.path }} -maxdepth 1 -name "rokit.toml" -o -name "aftman.toml" -o -name "foreman.toml") echo "::debug::Discovered manifest path: $manifest_path" - echo "path=$manifest_path" >> $GITHUB_OUTPUT - echo "hash=${{hashFiles(format('{0}/$manifest_path', inputs.path))}}" >> $GITHUB_OUTPUT + + manifest_hash=${{hashFiles(manifest_path)}} + echo "::debug::Computed manifest hash: $manifest_hash" + echo "hash=$manifest_hash" >> $GITHUB_OUTPUT shell: bash - name: Cache binaries