Skip to content

Update deprecated Github Action: microsoft/setup-msbuild #2

Update deprecated Github Action: microsoft/setup-msbuild

Update deprecated Github Action: microsoft/setup-msbuild #2

Workflow file for this run

# This workflow build the release version of AutoTx.
# It uses the Github runner `windows-2019`, which still supports .Net framework 4
# according to this page:
# https://github.com/orgs/community/discussions/25253
name: .NET Core Desktop
on:
[push]
# push:
# branches: [ "master" ]
# pull_request:
# branches: [ "master" ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-2019 # this is the last Github runner VM that supports .Net Framework 2019
steps:
- uses: actions/checkout@v2
- name: setup-msbuild
uses: microsoft/setup-msbuild@v2
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1.1
- name: Restore Packages
run: nuget restore AutoTx.sln
- name: Build solution
run: msbuild AutoTx.sln -t:rebuild -property:Configuration=Release
# msbuild AutoTx.sln /t:Build /p:Configuration=Release <- from the