diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c97b2a9..247be8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,16 @@ name: Release on: + push: + branches: + - main + paths: + - "**/*.go" + - "**/*.c" + - "**/*.h" + - "go.mod" + - "go.sum" + - ".github/workflows/*.yml" release: types: [ prereleased ] pull_request: @@ -78,7 +88,9 @@ jobs: sudo apt-get update -y && sudo apt-get install -y clang llvm gcc-multilib - name: Get project dependencies - run: go mod download + run: | + git submodule update --init --recursive + go mod download - name: Build dae run: | diff --git a/README.md b/README.md index 8bb85dd..1bc2704 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Build: ```shell git clone https://github.com/v2rayA/dae.git cd dae +git submodule update --init --recursive make ```