From e17bffcb1b856bd98f79beefdd022176f06e66d5 Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Wed, 3 Apr 2024 10:42:01 +0900 Subject: [PATCH] chore: set result in file --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index da61e1d6..fe7cee27 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,10 @@ runs: steps: - run: | yarn --cwd ${{ github.action_path }} --production=true - yarn --cwd ${{ github.action_path }} start --issue "${{ inputs.issue_url }}" --file results.json + touch results.json + ls + yarn --cwd ${{ github.action_path }} start --issue "${{ inputs.issue_url }}" --file "./results.json" + ls output=$(cat results.json) echo "Output of calculations:" echo "$output"