Skip to content
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

install-fonts fails to unzip fonts #264

Closed
Nuru opened this issue May 8, 2024 · 0 comments · Fixed by #272
Closed

install-fonts fails to unzip fonts #264

Nuru opened this issue May 8, 2024 · 0 comments · Fixed by #272

Comments

@Nuru
Copy link

Nuru commented May 8, 2024

Describe the bug

The action fails to install fonts, exiting with an error.

Click to see debug log output
Run charmbracelet/vhs-action@v2
  with:
    token: ***
    path: demo.tape
    install-fonts: true
    version: latest
  env:
    TERM: xterm-256color
    COLORTERM: truecolor
    LANG: en_US.UTF-8
Installing all fonts...
##[debug]Creating font directory /home/runner/.local/share/fonts
Installing Source Code Pro
##[debug]isExplicit: 
##[debug]explicit? false
##[debug]evaluating 0 versions
##[debug]match not found
Downloading Source Code Pro
##[debug]Downloading https://fonts.google.com/download?family=Source%20Code%20Pro
##[debug]Destination /home/runner/work/_temp/d11cf27a-bedb-4a12-a88d-0f688b98604d
##[debug]set auth
##[debug]download complete
/usr/bin/unzip -o /home/runner/work/_temp/d11cf27a-bedb-4a12-a88d-0f688b98604d
Archive:  /home/runner/work/_temp/d11cf27a-bedb-4a12-a88d-0f688b98604d
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /home/runner/work/_temp/d11cf27a-bedb-4a12-a88d-0f688b98604d or
        /home/runner/work/_temp/d11cf27a-bedb-4a12-a88d-0f688b98604d.zip, and cannot find /home/runner/work/_temp/d11cf27a-bedb-4a12-a88d-0f688b98604d.ZIP, period.
Error: The process '/usr/bin/unzip' failed with exit code 9

Setup

  • Action version v2.0.1
  • VHS version 0.7.2
  • GitHub hosted runner:
  Image: ubuntu-20.04
  Version: 20240422.1.0
  Included Software: https://github.com/actions/runner-images/blob/ubuntu20/20240422.1/images/ubuntu/Ubuntu2004-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu20%2F20240422.1

To Reproduce
Steps to reproduce the behavior:

  1. Run action on GitHub hosted Ubuntu runner with install-fonts: true
  2. See error

Additional context

This appears to be due to actions/toolkit#1179

aymanbagabas added a commit that referenced this issue May 28, 2024
Use Google Fonts GitHub repository instead of their old no longer
working private API

Fixes: #264
Fixes: #235
aymanbagabas added a commit that referenced this issue May 28, 2024
Use Google Fonts GitHub repository instead of their old no longer
working private API

Fixes: #264
Fixes: #235
aymanbagabas added a commit that referenced this issue May 28, 2024
Use Google Fonts GitHub repository instead of their old no longer
working private API

Fixes: #264
Fixes: #235
aymanbagabas added a commit that referenced this issue May 28, 2024
Use Google Fonts GitHub repository instead of their old no longer
working private API

Fixes: #264
Fixes: #235
aymanbagabas added a commit that referenced this issue May 28, 2024
Use Google Fonts GitHub repository instead of their old no longer
working private API

Fixes: #264
Fixes: #235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant