Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers committed Jun 11, 2022
1 parent 36581f6 commit d9c727f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 23 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build

on:
push:
pull_request:

jobs:
deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-dotnet@v2

- name: Build
run: dotnet build
22 changes: 22 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy

on:
push:
tags:
- 'v*'

jobs:
deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-dotnet@v2

- name: Build
run: dotnet publish -o "publish" -c Release -r win-x64

- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
files: "publish/*"
23 changes: 0 additions & 23 deletions .github/workflows/dotnet-desktop.yml

This file was deleted.

0 comments on commit d9c727f

Please sign in to comment.