Skip to content

Commit

Permalink
Add Github workflow for the release build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mell committed Mar 5, 2024
1 parent c0cfd24 commit 73e5ba7
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release-build.yml
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/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

0 comments on commit 73e5ba7

Please sign in to comment.