mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 18:08:14 -05:00
fix release action not work
This commit is contained in:
parent
177eda05f4
commit
9b78155786
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -117,7 +117,7 @@ jobs:
|
|||||||
run: go mod download
|
run: go mod download
|
||||||
|
|
||||||
|
|
||||||
- name: Build XrayR
|
- name: Build V2bX
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build_assets
|
mkdir -p build_assets
|
||||||
go build -v -o build_assets/V2bX -trimpath -ldflags "-s -w -buildid=" ./main
|
go build -v -o build_assets/V2bX -trimpath -ldflags "-s -w -buildid=" ./main
|
||||||
@ -125,7 +125,7 @@ jobs:
|
|||||||
- name: Build Mips softfloat V2bX
|
- name: Build Mips softfloat V2bX
|
||||||
if: matrix.goarch == 'mips' || matrix.goarch == 'mipsle'
|
if: matrix.goarch == 'mips' || matrix.goarch == 'mipsle'
|
||||||
run: |
|
run: |
|
||||||
GOMIPS=softfloat go build -v -o build_assets/XrayR_softfloat -trimpath -ldflags "-s -w -buildid=" ./main
|
GOMIPS=softfloat go build -v -o build_assets/V2bX_softfloat -trimpath -ldflags "-s -w -buildid=" ./main
|
||||||
- name: Rename Windows V2bX
|
- name: Rename Windows V2bX
|
||||||
if: matrix.goos == 'windows'
|
if: matrix.goos == 'windows'
|
||||||
run: |
|
run: |
|
||||||
@ -158,9 +158,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pushd build_assets || exit 1
|
pushd build_assets || exit 1
|
||||||
touch -mt $(date +%Y01010000) *
|
touch -mt $(date +%Y01010000) *
|
||||||
zip -9vr ../XrayR-$ASSET_NAME.zip .
|
zip -9vr ../V2bX-$ASSET_NAME.zip .
|
||||||
popd || exit 1
|
popd || exit 1
|
||||||
FILE=./XrayR-$ASSET_NAME.zip
|
FILE=./V2bX-$ASSET_NAME.zip
|
||||||
DGST=$FILE.dgst
|
DGST=$FILE.dgst
|
||||||
for METHOD in {"md5","sha1","sha256","sha512"}
|
for METHOD in {"md5","sha1","sha256","sha512"}
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user