Skip to content

Commit

Permalink
更新 pre-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
natsurainko authored Dec 27, 2024
1 parent e686970 commit 4d9ea56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
$commit = $env:GITHUB_SHA.Substring(0, 7)
$url = "https://github.com/Xcube-Studio/FluentLauncher.PreviewChannel.PackageInstaller/releases/download/v0.0.1/PackageInstaller-x64.exe"
$installerPath = "PackageInstaller-64.exe"
$installerPath = "PackageInstaller-x64.exe"
$ErrorActionPreference = "Stop"
$ErrorVariable = "DownloadError"
Expand All @@ -174,8 +174,8 @@ jobs:
exit 1
}
.\$installerPath generateReleaseJson --markdownPath "${{ github.workspace }}\\body.md" --updatePackageFiles "${{ github.workspace }}\updatePackage-x64.zip" "${{ github.workspace }}\updatePackage-arm64.zip" --stableVersion $version --commit $commit | Out-String
$jsonObject = Get-Content -Path "${{ github.workspace }}\\body.md" | ConvertFrom-Json
.\$installerPath generateReleaseJson --markdownPath "${{ github.workspace }}\body.md" --updatePackageFiles "${{ github.workspace }}\updatePackage-x64.zip" "${{ github.workspace }}\updatePackage-arm64.zip" --stableVersion $version --commit $commit
$jsonObject = Get-Content -Path "${{ github.workspace }}\body.md" | ConvertFrom-Json
$currentPreviewVersion = $jsonObject.currentPreviewVersion
Expand Down

0 comments on commit 4d9ea56

Please sign in to comment.