Skip to content

Commit c6801ae

Browse files
committed
Use the new bin-directory field
1 parent 834c715 commit c6801ae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

install-quarto/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ runs:
7979
- name: Install TinyTeX
8080
if: ${{ inputs.tinytex == 'true'}}
8181
run: |
82-
quarto tools install tinytex
83-
install_dir=$(quarto tools info tinytex | jq -r '.directory')
84-
bin_dir=$(dirname $(find $install_dir -name tlmgr))
82+
quarto tools install tinytex --log-level warning
83+
bin_dir=$(quarto tools info tinytex | jq -r '.["bin-directory"]')
8584
echo $bin_dir >> $GITHUB_PATH
8685
shell: bash

0 commit comments

Comments
 (0)