mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Merge branch 'PHP-8.3'
* PHP-8.3: ci: update caddy job to use GitHub Releases
This commit is contained in:
commit
c8c9fc3f69
4
.github/actions/setup-caddy/action.yml
vendored
4
.github/actions/setup-caddy/action.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user