Skip to content

Commit

Permalink
ci: fix linux packages' version
Browse files Browse the repository at this point in the history
  • Loading branch information
Markson Hon authored and Markson Hon committed Jun 19, 2024
1 parent c46fe4c commit 54e4de1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/beta_release_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ jobs:
version=$(echo $tag | sed 's/v//g')
echo "VERSION=$version" >> $GITHUB_OUTPUT
echo "VERSION=$version" >> $GITHUB_ENV
echo "PACKAGE_VERSION=$package_version" >> $GITHUB_OUTPUT
echo "PACKAGE_VERSION=$package_version" >> $GITHUB_ENV
echo "PACKAGE_VERSION=$version" >> $GITHUB_OUTPUT
echo "PACKAGE_VERSION=$version" >> $GITHUB_ENV
- name: Download Artifact
uses: actions/download-artifact@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
New-Item -ItemType Directory -Path "D:\v2raya-arm64-windows\bin"
## Copy v2rayA to Destination Directory
Copy-Item -Path D:\Downloads\v2raya_windows_arm64_${{ steps.prep.outputs.VERSION }}.exe -Destination D:\v2raya-arm64-windows\bin\v2raya.exe
Copy-Item -Path D:\Downloads\v2raya_singtun_windows_x64_${{ steps.prep.outputs.VERSION }}.exe -Destination D:\v2raya-x86_64-windows\bin\v2raya.exe
Copy-Item -Path D:\Downloads\v2raya_windows_x64_${{ steps.prep.outputs.VERSION }}.exe -Destination D:\v2raya-x86_64-windows\bin\v2raya.exe
Copy-Item -Path ".\install\windows-inno\v2raya.ico" -Destination "D:\v2raya.ico"
## Download and extract v2ray
$Url_v2ray_x64 = "https://github.com/v2fly/v2ray-core/releases/latest/download/v2ray-windows-64.zip"
Expand Down Expand Up @@ -314,8 +314,8 @@ jobs:
version=$(echo $tag | sed 's/v//g')
echo "VERSION=$version" >> $GITHUB_OUTPUT
echo "VERSION=$version" >> $GITHUB_ENV
echo "PACKAGE_VERSION=$package_version" >> $GITHUB_OUTPUT
echo "PACKAGE_VERSION=$package_version" >> $GITHUB_ENV
echo "PACKAGE_VERSION=$version" >> $GITHUB_OUTPUT
echo "PACKAGE_VERSION=$version" >> $GITHUB_ENV
- name: Download Artifact
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 54e4de1

Please sign in to comment.