-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Unable to locate TeX Live's binary directory #331
Comments
Interesting. Maybe you can list the entries in that directory, using - name: Setup TeX Live
uses: teatimeguest/setup-texlive-action@v3
with:
package-file: |
./.github/template_deps.txt
./.github/basictex_deps.txt
- name: List entries
if: failure()
run: ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin I guess one possible cause is that multi-platform installations were cached, or cache created for another platform was restored. For an instant workaround, just delete the cache and rerun the job? |
Yeah, but this method consumes GitHub runner quota, which might not be ideal for long-term solutions. Output from the Run ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin
total 8
drwxr-xr-x 2 runner docker [4](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094687869/job/33726995730#step:5:5)096 Nov 30 04:01 universal-darwin
drwxr-xr-x 2 runner docker 4096 Nov 30 04:01 x8[6](https://github.com/izzalDev/PPB_A11.4721/actions/runs/12094687869/job/33726995730#step:5:7)_64-linux |
Remove the disturbing links we get
What's the platform your job runs on? And would you mind further listing what's inside |
I am running on ubuntu-latest. Here is the complete workflow: name: Generate Dokumentasi
on:
workflow_dispatch:
push:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup TeX Live
uses: teatimeguest/setup-texlive-action@v3
with:
package-file: |
./.github/template_deps.txt
./.github/basictex_deps.txt
- name: List entries
if: failure()
run: ls -l /home/runner/work/_temp/setup-texlive-action/2024/bin
- name: Setup Pandoc
uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: 3.5
- name: Run documentation script
run: bash ../.github/docs.sh "Rizal Fadlullah" "A11.2019.12070"
working-directory: praktikum_8
- name: Upload a file to Google Drive
uses: adityak74/google-drive-upload-git-action@main
with:
filename: ./praktikum_8/PRAKTIKUM_8.pdf
credentials: ${{ secrets.CREDENTIALS }}
folderId: ${{ secrets.FOLDER_ID }}
overwrite: true |
According to texlive doc,
It's wired that What would |
Yeah, I copied all the default packages from BasicTeX, and after removing the packages with the *.universal-darwin extension from the list, it worked fine. It would be great if you could add validation for the package file. Thanks, @muzimuzhi |
Thank you for reporting the problem, @izzalDev. And thank you for investigating it, @muzimuzhi.
I have created a new issue on this feature (#332). I am a bit tied up right now with the end of the year looming, but will work on it in my free time. |
When running the teatimeguest/setup-texlive-action@v3 action with the configuration below, an error occurs indicating that the TeX Live binary directory cannot be located:
The action begins by parsing the dependencies from the template_deps.txt and basictex_deps.txt files, and it successfully restores the cache. However, it encounters the following error:
When the cache is set to false or the cache is removed entirely, no issues occur, and the action runs successfully.
The text was updated successfully, but these errors were encountered: