Skip to content

feat: Add support for multiple OS, and add version input #18

feat: Add support for multiple OS, and add version input

feat: Add support for multiple OS, and add version input #18

Workflow file for this run

name: Test setup-cloudflared
on:
push:
paths:
- action.yml
- scripts/**
- shutdown/action.yml
- .github/workflows/test.yaml
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup cloudflared using setup-cloudflared
uses: AnimMouse/setup-cloudflared@main
with:
cloudflare_tunnel_credential: ${{ secrets.CLOUDFLARE_TUNNEL_CREDENTIAL }}
cloudflare_tunnel_configuration: ${{ secrets.CLOUDFLARE_TUNNEL_CONFIGURATION }}
cloudflare_tunnel_id: ${{ secrets.CLOUDFLARE_TUNNEL_ID }}
- name: Test cloudflared installed by setup-cloudflared using Python HTTP server for 1 minute
run: timeout 1m python -m http.server 8080 || true
- name: Shutdown cloudflared using setup-cloudflared/shutdown
if: always()
uses: AnimMouse/setup-cloudflared/shutdown@main