TeamsNetphoneLink/.github/workflows/build-push.yml
krjan02 0a4e2477f9
All checks were successful
Build and Relase / build-release (push) Successful in 1m33s
Build and Relase / create-release (push) Successful in 39s
Added Workflows for automated builds to project
2025-03-26 13:15:41 +01:00

38 lines
931 B
YAML

name: Build Project
on:
issue_comment:
types: [created]
# Filter for issue number 1
issues:
- 1
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 TeamsNetphoneLink.sln
#Build the project
- name: Build the solution
run: msbuild TeamsNetphoneLink.sln /p:Configuration=Release /t:Rebuild
#Upload the build artifact
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: build-artifact
path: build/Release/net8.0-windows/**