fix release action not work

This commit is contained in:
yuzuki999 2022-06-06 10:16:36 +08:00
parent 177eda05f4
commit 9b78155786

View File

@ -117,7 +117,7 @@ jobs:
run: go mod download
- name: Build XrayR
- name: Build V2bX
run: |
mkdir -p build_assets
go build -v -o build_assets/V2bX -trimpath -ldflags "-s -w -buildid=" ./main
@ -125,7 +125,7 @@ jobs:
- name: Build Mips softfloat V2bX
if: matrix.goarch == 'mips' || matrix.goarch == 'mipsle'
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
if: matrix.goos == 'windows'
run: |
@ -158,9 +158,9 @@ jobs:
run: |
pushd build_assets || exit 1
touch -mt $(date +%Y01010000) *
zip -9vr ../XrayR-$ASSET_NAME.zip .
zip -9vr ../V2bX-$ASSET_NAME.zip .
popd || exit 1
FILE=./XrayR-$ASSET_NAME.zip
FILE=./V2bX-$ASSET_NAME.zip
DGST=$FILE.dgst
for METHOD in {"md5","sha1","sha256","sha512"}
do