From 54c584ddd2dbe525609fed00529902d81eec11d8 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Wed, 3 Apr 2024 09:49:58 +0200 Subject: [PATCH] chore(action.yml): use runner.temp as folder where json gets stored. Signed-off-by: Federico Di Pierro --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 0d68ac8..4de397b 100644 --- a/action.yml +++ b/action.yml @@ -35,11 +35,11 @@ runs: shell: bash working-directory: ${{ github.action_path }} run: | - kernel-crawler crawl --distro=${{ inputs.distro }} --arch=${{ inputs.arch }} > kernels_${{ inputs.arch }}.json + kernel-crawler crawl --distro=${{ inputs.distro }} --arch=${{ inputs.arch }} > ${{ runner.temp }}/kernels_${{ inputs.arch }}.json - name: Validate json shell: bash - working-directory: ${{ github.action_path }} + working-directory: ${{ runner.temp }} run: | cat kernels_${{ inputs.arch }}.json | jq empty @@ -47,4 +47,4 @@ runs: id: store-outputs shell: bash run: | - echo "json=${{ github.action_path }}/kernels_${{ inputs.arch }}.json" >> $GITHUB_OUTPUT + echo "json=${{ runner.temp }}/kernels_${{ inputs.arch }}.json" >> $GITHUB_OUTPUT