Update dotnet-framework.yml

This commit is contained in:
WeeXnes 2022-11-10 21:09:33 +01:00 committed by GitHub
parent 29af23fa46
commit 1f3a5fe70d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,14 @@ jobs:
- name: Navigate to Workspace
run: cd $GITHUB_WORKSPACE
- name: Restore Packages
run: nuget restore WeeXnes.sln
- name: Build Solution
run: |
msbuild.exe WeeXnes.sln /p:DeleteExistingFiles=True /p:platform="Any CPU" /p:configuration="Release"
- name: Format Xaml to XML
run: (gc Weexnes\WeeXnes.csproj) -replace ' ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"', '' | Out-File -encoding ASCII formatted.csproj
shell: pwsh
@ -35,3 +43,4 @@ jobs:
run: |
echo "Version=${{ steps.get_version.outputs.version }}"