We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b82d25b + 95c5c40 commit 26153eeCopy full SHA for 26153ee
.github/actions/setup-caddy/action.yml
@@ -3,8 +3,10 @@ runs:
3
using: composite
4
steps:
5
- shell: bash
6
+ env:
7
+ GH_TOKEN: ${{ github.token }}
8
run: |
9
set -x
- sudo curl 'https://caddyserver.com/api/download?os=linux&arch=amd64' -o /usr/bin/caddy
10
+ gh release -R caddyserver/caddy download --pattern 'caddy_*_linux_amd64.tar.gz' -O - | sudo tar -xz -C /usr/bin caddy
11
sudo chmod +x /usr/bin/caddy
12
sudo caddy start --config ext/curl/tests/Caddyfile
0 commit comments