mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
Merge branch 'main' into sing-tun
This commit is contained in:
1 file changed
+3
-3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user