Skip to content

Commit

Permalink
Update proxy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
farelvpn authored Feb 13, 2025
1 parent 551fba1 commit 49e395b
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.23.4'

- name: Install Dependencies
run: go mod tidy

- name: Run Proxy Server
run: go run proxy.go -p 1080 -f 22
- name: Run Proxy Server (Background)
run: |
go run proxy.go -p 1080 -f 22 & # Jalankan di background
echo $! > proxy_pid.txt # Simpan PID proses
- name: Wait for Proxy to Run
run: sleep 10

- name: Stop Proxy Server
run: kill $(cat proxy_pid.txt) || echo "Process already stopped"

0 comments on commit 49e395b

Please sign in to comment.