Debug github Action with frp tunnel
frp repository: https://github.com/fatedier/frp
- frps.toml demo
bindPort = 20000
auth.token = "your_token"
# must be true
transport.tls.force = true- FRP_SERVER_ADDR
- FRP_SERVER_PORT
- FRP_TOKEN
- FRP_REMOTE_PORT
a action demo windows-2022 is in the .github/workflows/windows-2022.yml
jobs:
debug:
name: Debug github Action with frp tunnel
runs-on: windows-2022
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Debug github Action with frp tunnel
uses: neighbads/[email protected]
with:
frp_server_addr: ${{ secrets.FRP_SERVER_ADDR }}
frp_server_port: ${{ secrets.FRP_SERVER_PORT }}
frp_token: ${{ secrets.FRP_TOKEN }}
remote_port: ${{ secrets.FRP_REMOTE_PORT }}use mstsc to connect to the action runner
- username: admin
- password: found in the github Action output