mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 18:08:14 -05:00
update filename
This commit is contained in:
parent
b0b8362677
commit
055ea83a38
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@ -120,17 +120,17 @@ jobs:
|
|||||||
- name: Build XrayR
|
- name: Build XrayR
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build_assets
|
mkdir -p build_assets
|
||||||
go build -v -o build_assets/XrayR -trimpath -ldflags "-s -w -buildid=" ./main
|
go build -v -o build_assets/V2bX -trimpath -ldflags "-s -w -buildid=" ./main
|
||||||
|
|
||||||
- name: Build Mips softfloat XrayR
|
- 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/XrayR_softfloat -trimpath -ldflags "-s -w -buildid=" ./main
|
||||||
- name: Rename Windows XrayR
|
- name: Rename Windows V2bX
|
||||||
if: matrix.goos == 'windows'
|
if: matrix.goos == 'windows'
|
||||||
run: |
|
run: |
|
||||||
cd ./build_assets || exit 1
|
cd ./build_assets || exit 1
|
||||||
mv XrayR XrayR.exe
|
mv V2bX V2bX.exe
|
||||||
- name: Prepare to release
|
- name: Prepare to release
|
||||||
run: |
|
run: |
|
||||||
cp ${GITHUB_WORKSPACE}/README.md ./build_assets/README.md
|
cp ${GITHUB_WORKSPACE}/README.md ./build_assets/README.md
|
||||||
@ -168,18 +168,18 @@ jobs:
|
|||||||
done
|
done
|
||||||
- name: Change the name
|
- name: Change the name
|
||||||
run: |
|
run: |
|
||||||
mv build_assets XrayR-$ASSET_NAME
|
mv build_assets V2bX-$ASSET_NAME
|
||||||
# - name: Upload files to Artifacts
|
# - name: Upload files to Artifacts
|
||||||
# uses: actions/upload-artifact@v2
|
# uses: actions/upload-artifact@v2
|
||||||
# with:
|
# with:
|
||||||
# name: XrayR-${{ steps.get_filename.outputs.ASSET_NAME }}
|
# name: V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}
|
||||||
# path: |
|
# path: |
|
||||||
# ./XrayR-${{ steps.get_filename.outputs.ASSET_NAME }}/*
|
# ./V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}/*
|
||||||
- name: Upload binaries to release
|
- name: Upload binaries to release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ./XrayR-${{ steps.get_filename.outputs.ASSET_NAME }}.zip*
|
file: ./V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}.zip*
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
file_glob: true
|
file_glob: true
|
||||||
|
Loading…
Reference in New Issue
Block a user