diff --git a/.github/workflows/test_build_main.yml b/.github/workflows/test_build_main.yml index 08fadb8ba3..f1fb1fd291 100644 --- a/.github/workflows/test_build_main.yml +++ b/.github/workflows/test_build_main.yml @@ -1,7 +1,6 @@ name: Test Source of v2rayA on: - workflow_dispatch: push: branches: - main @@ -11,8 +10,6 @@ on: - "go.sum" - "gui/**" - ".github/workflows/*.yml" - pull_request: - types: [opened, synchronize, reopened] jobs: Build_v2rayA_Web: @@ -41,13 +38,8 @@ jobs: with: path: web/* name: web - - name: Upload the tar archive to Artifacts - uses: nanoufo/action-upload-artifacts-and-release-assets@v2 - with: - path: | - web.tar.gz -Build_v2rayA_Binaries: + Build_v2rayA_Binaries: runs-on: ubuntu-latest needs: [Build_v2rayA_Web] env: @@ -130,13 +122,12 @@ Build_v2rayA_Binaries: go build -o ../v2raya_binaries/v2raya_${filename}_${env:VERSION}_${env:VERSION} -ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${env:VERSION} -s -w" -trimpath Set-Location -Path .. } - - name: Upload Artifact uses: nanoufo/action-upload-artifacts-and-release-assets@v2 with: path: | v2raya_binaries/* - + Build_v2rayA_SingTun_Binaries: runs-on: ubuntu-latest needs: [Build_v2rayA_Web] @@ -199,4 +190,4 @@ Build_v2rayA_Binaries: uses: nanoufo/action-upload-artifacts-and-release-assets@v2 with: path: | - v2raya_binaries/* \ No newline at end of file + v2raya_binaries/*