Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaNecron committed Oct 14, 2021
1 parent cc8c7cd commit 17e7959
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build project
on:
create:
tags:
- 'v*'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Restore NuGet
run: nuget restore TitlebarZ.sln
- name: Change CWD to TitlebarZ.WPF
run: cd TitlebarZ.WPF
- name: Run MSBuild
run: msbuild TitlebarZ.WPF.csproj /p:Configuration=Release
- name: Create release
uses: ncipollo/[email protected]
with:
artifacts: "bin/Release/TitlebarZ.exe"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 17e7959

Please sign in to comment.