Merge branch 'main' into sing-tun

This commit is contained in:
Markson Hon authored and GitHub committed 2023-11-25 11:57:00 +08:00
commit 98d8d4d3c6
1 file changed
+3 -3
+3 -3
View File
@@ -92,7 +92,7 @@ jobs:
- name: Build v2rayA
shell: pwsh
run: |
New-Item -Path ./v2raya_bin -ItemType Directory v2raya_bin
New-Item -Path ./v2raya_bin -ItemType Directory -Force
$CurrentDir = (Get-Location).Path
$dateLong = git log -1 --format="%cd" --date=short
$date = $DateLong -replace "-"; ""
@@ -102,8 +102,8 @@ jobs:
$os = "windows"
${env:CGO_ENABLED} = "0"
Set-Location "$CurrentDir"/service
${env:GOARCH} = amd64; go build -tags "with_gvisor" -ldflags "-X github.com/v2rayA/v2rayA/conf.Version=$version -s -w" -o "$CurrentDir"/v2raya_bin/v2raya_pr_build_"$os"_"${env:GOARCH}"_"$version".exe
${env:GOARCH} = arm64; go build -tags "with_gvisor" -ldflags "-X github.com/v2rayA/v2rayA/conf.Version=$version -s -w" -o "$CurrentDir"/v2raya_bin/v2raya_pr_build_"$os"_"${env:GOARCH}"_"$version".exe
${env:GOARCH} = amd64; go build -tags "with_gvisor" -ldflags "-X github.com/v2rayA/v2rayA/conf.Version=$version -s -w" -o "$CurrentDir"/v2raya_bin/v2raya_pr_build_"$os"_amd64_"$version".exe
${env:GOARCH} = arm64; go build -tags "with_gvisor" -ldflags "-X github.com/v2rayA/v2rayA/conf.Version=$version -s -w" -o "$CurrentDir"/v2raya_bin/v2raya_pr_build_"$os"_arm64_"$version".exe
- name: Upload Zip File to Artifacts
uses: nanoufo/action-upload-artifacts-and-release-assets@v1.8
with: