chore: fix ci

This commit is contained in:
mzz2017 2023-02-02 21:26:54 +08:00
parent 6562866147
commit be41239cc8
2 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,6 @@ jobs:
- name: Get project dependencies - name: Get project dependencies
run: | run: |
git submodule update --init --recursive
go mod download go mod download
- name: Build dae - name: Build dae

View File

@ -32,6 +32,9 @@ clean-ebpf:
rm -f component/control/bpf_bpf*.o rm -f component/control/bpf_bpf*.o
bpf_objects: bpf_objects:
unset GOOS && \
unset GOARCH && \
unset GOARM && \
if [ ! -f component/control/bpf_objects_wan_lan.go ]; then \ if [ ! -f component/control/bpf_objects_wan_lan.go ]; then \
go run github.com/v2rayA/dae/cmd/internal/generate_bpf_objects/dummy -o component/control/bpf_objects_wan_lan.go; \ go run github.com/v2rayA/dae/cmd/internal/generate_bpf_objects/dummy -o component/control/bpf_objects_wan_lan.go; \
fi fi