From d12376059cfb9767d8877b3d17fd06a3769189c4 Mon Sep 17 00:00:00 2001 From: Yeela Lifshitz Date: Sun, 11 Aug 2024 18:35:17 +0300 Subject: [PATCH] fix read artifact step --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index a7a8f9dc..7da77abb 100644 --- a/action.yml +++ b/action.yml @@ -131,10 +131,11 @@ runs: id: read-artifact shell: bash run: | - cat output/run_data_cache.json - RUN_DATA_CACHE=$(cat output/run_data_cache.json | jq -c) + cat $GITHUB_WORKSPACE/output/run_data_cache.json + RUN_DATA_CACHE=$(cat $GITHUB_WORKSPACE/output/run_data_cache.json | jq -c) echo "RUN_DATA_CACHE=$RUN_DATA_CACHE" >> $GITHUB_ENV + - name: Run RulesEngine shell: bash run: node ${{ github.action_path }}/dist/index.js