diff --git a/.github/workflows/compile_extensions.yml b/.github/workflows/compile_extensions.yml index c439ff4..b1c3ea4 100644 --- a/.github/workflows/compile_extensions.yml +++ b/.github/workflows/compile_extensions.yml @@ -22,7 +22,7 @@ jobs: GH_TOKEN: ${{ github.token }} run: | pr_paths=$(gh pr view ${{ github.event.pull_request.number }} --json files) - files_count=$(jq '.files | length' <<< "${pr_paths}") + files_count=$(jq '.files | length' <<< ${pr_paths}) if [[ $files_count -gt 1 ]] then echo "Only one extension per pull-request is allowed!" @@ -32,7 +32,7 @@ jobs: echo "No extension was found" exit 1 fi - echo "path=$(jq '.files[0].path' <<< ${pr_paths})" >> $GITHUB_OUTPUT + echo "path=$(jq -r '.files[0].path' <<< ${pr_paths})" >> $GITHUB_OUTPUT - name: Check extension path run: echo "${{ steps.extract-extension-path.outputs.path }}"