Thanks to visit codestin.com
Credit goes to github.com

Skip to content

neighbads/frp-action-win

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

frp-action-win

Debug github Action with frp tunnel

How to use

1. Deploy frp server

frp repository: https://github.com/fatedier/frp

  • frps.toml demo
bindPort = 20000
auth.token = "your_token"

# must be true
transport.tls.force = true

2. Add Github Action secret

  • FRP_SERVER_ADDR
  • FRP_SERVER_PORT
  • FRP_TOKEN
  • FRP_REMOTE_PORT

3. Use the github Action

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 }}

4. Run the github Action

run the github Action

5. Connect to the action runner

use mstsc to connect to the action runner

  • username: admin
  • password: found in the github Action output

About

Debug github Action with frp tunnel

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •