mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
test: test ci
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -119,7 +119,7 @@ jobs:
|
||||
run: |
|
||||
$csprojPath = "src/MaaWpfGui/MaaWpfGui.csproj"
|
||||
$csprojPath = Resolve-Path -Path $csprojPath
|
||||
$tag = ${{ needs.meta.outputs.tag }} -replace '.*?/', ''
|
||||
$tag = '${{ needs.meta.outputs.tag }}' -replace '.*?/', ''
|
||||
$tag -match '\d+(\.\d+){0,3}'
|
||||
$match = $Matches[0]
|
||||
[xml]$csproj = Get-Content -Path $csprojPath
|
||||
|
||||
@@ -79,9 +79,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
/// </summary>
|
||||
public string CoreVersion => _coreVersion;
|
||||
|
||||
private static readonly string _uiVersion = FileVersionInfo
|
||||
.GetVersionInfo(Application.ResourceAssembly.Location)
|
||||
.ProductVersion.Split('+')[0];
|
||||
private static readonly string _uiVersion = FileVersionInfo.GetVersionInfo(Application.ResourceAssembly.Location).ProductVersion.Split('+')[0];
|
||||
|
||||
/// <summary>
|
||||
/// Gets the UI version.
|
||||
|
||||
Reference in New Issue
Block a user