Merge branch 'PHP-8.3'

* PHP-8.3:
  ci: update caddy job to use GitHub Releases
This commit is contained in:
Tim Düsterhus 2024-02-01 00:12:36 +01:00
commit c8c9fc3f69
No known key found for this signature in database
GPG Key ID: 8FF75566094168AF

View File

@ -3,8 +3,10 @@ runs:
using: composite
steps:
- shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
set -x
sudo curl 'https://caddyserver.com/api/download?os=linux&arch=amd64' -o /usr/bin/caddy
gh release -R caddyserver/caddy download --pattern 'caddy_*_linux_amd64.tar.gz' -O - | sudo tar -xz -C /usr/bin caddy
sudo chmod +x /usr/bin/caddy
sudo caddy start --config ext/curl/tests/Caddyfile