.forgejo/workflows/dotnet.yaml aktualisiert
Some checks failed
Dotnet Build / build (push) Failing after 1m12s

This commit is contained in:
WeeXnes 2025-05-18 19:20:31 +00:00
parent e57fef6b57
commit 16b21bf005

View file

@ -15,6 +15,16 @@ jobs:
run: | run: |
msbuild -version msbuild -version
- name: Extract project version
shell: pwsh
run: |
$version = Select-String -Path "WeeXnes/WeeXnes.csproj" -Pattern "<Version>(.+?)</Version>" | ForEach-Object {
($_ -match "<Version>(.+?)</Version>") | Out-Null
$matches[1]
}
Write-Output "##vso[task.setvariable variable=PROJECT_VERSION]$version"
Write-Output "Project version is $version"
- name: Restore Packages - name: Restore Packages
run: nuget restore WeeXnes.sln run: nuget restore WeeXnes.sln