-
-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Hi,
We're using your tool via github actions, and after migrating to PHP 8.4 installing the LZF extension fails with:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/../scripts/extensions/source.sh: line 124: cd: /tmp/lzf-1.7.0: No such file or directory
Version
- v2
- v1
Runners
GitHub Hosted
Operating systems
Ubuntu 24.04
PHP versions
8.4
To Reproduce
name: PHP Composer & Unit tests
on:
push:
branches: [ master ]
env:
GITHUB: 1
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
extensions: mcrypt, ssh2, lzf
…Expected behavior
At our previous version of php.yml, with the only change being the php-version: 8.3 it worked fine
Screenshots/Logs
Run shivammathur/setup-php@v2
/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh
==> Setup PHP
✓ PHP Installed PHP 8.4.13
==> Setup Extensions
✓ mcrypt Installed and enabled
✓ ssh2 Installed and enabled
==> Setup lzf-1.7.0
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
/home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/../scripts/extensions/source.sh: line 124: cd: /tmp/lzf-1.7.0: No such file or directory
✗ lzf-1.7.0 Could not install lzf-1.7.0 on PHP 8.4.13
✗ lzf Could not install lzf on PHP 8.4.13
==> Setup Tools
✓ composer Added composer 2.8.12
==> Sponsor setup-php
✓ setup-php https://setup-php.com/sponsor
Additional context
No response
Are you willing to submit a PR?
No
shivammathur
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working