mirror of
https://github.com/xor-gate/go-socks5-ssh-proxy
synced 2026-03-22 22:06:35 +01:00
Use config_release.go from actions secrets var
This commit is contained in:
6
Makefile
6
Makefile
@ -2,9 +2,13 @@ SOURCES=Makefile main.go main_release.go main_debug.go config.go config_release.
|
||||
GARBLE_BIN = $(shell go env GOPATH)/bin/garble
|
||||
GO_ENV_VARS = CGO_ENABLED=0
|
||||
|
||||
all: socks5-ssh-proxy
|
||||
|
||||
ci: secrets release
|
||||
secrets:
|
||||
cat $(CONFIG_RELEASE_GO_FILE) > config_release.go
|
||||
release: socks5-ssh-proxy.release socks5-ssh-proxy.exe
|
||||
|
||||
all: socks5-ssh-proxy socks5-ssh-proxy.release socks5-ssh-proxy.exe
|
||||
test: socks5-ssh-proxy
|
||||
cp socks5-ssh-proxy ~/.ssh; cd ~/.ssh; ~/.ssh/socks5-ssh-proxy
|
||||
test-release: socks5-ssh-proxy.release
|
||||
|
||||
Reference in New Issue
Block a user