1name: Setup Caddy server
2runs:
3  using: composite
4  steps:
5    - shell: bash
6      env:
7        GH_TOKEN: ${{ github.token }}
8      run: |
9        set -x
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
13      continue-on-error: true
14