Download src/php/php-src/.github/actions/setup-caddy/action.yml from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/setup-caddy/action.yml
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/.github/actions/setup-caddy/action.yml
-
curl -L -o action.yml https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/setup-caddy/action.yml
406 Bytes
| name: Setup Caddy server | |
| runs: | |
| using: composite | |
| steps: | |
| - shell: bash | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| set -x | |
| 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 | |
| continue-on-error: true | |