We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe2311 commit 721c123Copy full SHA for 721c123
install-quarto/action.yml
@@ -80,6 +80,19 @@ runs:
80
if: ${{ inputs.tinytex == 'true'}}
81
run: |
82
quarto tools install tinytex --log-level warning
83
- bin_dir=$(quarto tools info tinytex | jq -r '.["bin-directory"]')
84
- echo $bin_dir >> $GITHUB_PATH
+ case $RUNNER_OS in
+ "Linux")
85
+ echo "$HOME/bin" >> $GITHUB_PATH
86
+ ;;
87
+ "macOS")
88
+ echo "$(dirname $(find ~/Library/TinyTeX -name tlmgr))" >> $GITHUB_PATH
89
90
+ "Windows")
91
+ echo "$(dirname $(find $APPDATA/TinyTeX -name tlmgr.bat))" >> $GITHUB_PATH
92
+ *)
93
+ echo "$RUNNER_OS not supported"
94
+ exit 1
95
96
+ esac
97
+ echo "TinyTeX installed !"
98
shell: bash
0 commit comments