add embed.FS and debug

This commit is contained in:
WJQSERVER 2025-01-01 08:45:21 +08:00
parent 8371f9564f
commit 83e6b78a93
6 changed files with 31 additions and 7 deletions

View file

@ -37,7 +37,7 @@ jobs:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: |
CGO_ENABLED=0 go build -ldflags "-X main.version=${{ env.VERSION }}" -o ${{ env.OUTPUT_BINARY }}-${{matrix.goos}}-${{matrix.goarch}} ./main.go
CGO_ENABLED=0 go build -ldflags "-X main.version=${{ env.VERSION }} -X main.dev=true" -o ${{ env.OUTPUT_BINARY }}-${{matrix.goos}}-${{matrix.goarch}} ./main.go
- name: 打包
run: |
mkdir ghproxyd