Skip to content

Commit

Permalink
Merge branch 'PHP-8.3'
Browse files Browse the repository at this point in the history
* PHP-8.3:
  ci: update caddy job to use GitHub Releases
  • Loading branch information
TimWolla committed Jan 31, 2024
2 parents bba24f0 + 26153ee commit c8c9fc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/setup-caddy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c8c9fc3

Please sign in to comment.