-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Github workflow for the release build.
- Loading branch information
1 parent
c0cfd24
commit 73e5ba7
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# 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@v1 | ||
|
||
- name: Setup NuGet | ||
uses: NuGet/[email protected] | ||
|
||
- name: setup-msbuild | ||
uses: microsoft/[email protected] | ||
|
||
- name: Restore Packages | ||
run: nuget restore AutoTx.sln | ||
|
||
- name: Build solution | ||
run: msbuild AutoTx.sln -t:rebuild -property:Configuration=Release |