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
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
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:
Version
Runners
GitHub Hosted
Operating systems
Ubuntu 24.04
PHP versions
8.4
To Reproduce
Expected behavior
At our previous version of
php.yml, with the only change being thephp-version: 8.3it worked fineScreenshots/Logs
Additional context
No response
Are you willing to submit a PR?
No