SoraV2Utils/.github/workflows/build-manual.yml
krjan02 26cde137c9
Some checks failed
Build and Relase / build-release (push) Failing after 38s
Build and Relase / create-release (push) Failing after 10s
Initial commit (1.0.0)
2025-01-13 16:27:29 +01:00

38 lines
994 B
YAML

name: Build Project
on:
workflow_dispatch:
jobs:
build-release:
runs-on: windows-2022
steps:
#Check out the code from the repository
- name: Checkout repository
uses: actions/checkout@v3
#Verify installed .NET Framework version (Optional Debug Step)
- name: Check .NET Framework version
run: |
reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v Release
#Restore NuGet packages
- name: Restore NuGet packages
run: nuget restore SoraV2Utils.sln
#Build the project
- name: Build the solution
run: msbuild SoraV2Utils.sln /p:Configuration=Release /t:Rebuild
#Build the installer
- name: Build the installer
run: devenv SoraV2Utils.sln /Project SoraV2Utils_Setup\SoraV2Utils_Setup.vdproj /Build "Release"
#Upload the build artifact
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: build-artifact
path: build/Release/**