Skip to content

Commit

Permalink
ci: fix test build
Browse files Browse the repository at this point in the history
  • Loading branch information
Markson Hon authored and Markson Hon committed Jun 19, 2024
1 parent c723b2e commit 5dabf03
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/test_build_main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Test Source of v2rayA

on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -11,8 +10,6 @@ on:
- "go.sum"
- "gui/**"
- ".github/workflows/*.yml"
pull_request:
types: [opened, synchronize, reopened]

jobs:
Build_v2rayA_Web:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -199,4 +190,4 @@ Build_v2rayA_Binaries:
uses: nanoufo/action-upload-artifacts-and-release-assets@v2
with:
path: |
v2raya_binaries/*
v2raya_binaries/*

0 comments on commit 5dabf03

Please sign in to comment.