Create LANCommander.PlaynitePlugin.yml

pull/19/head
Pat Hartl 2023-04-05 17:20:32 -05:00 committed by GitHub
parent f0b6b2995e
commit 8d59f82382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: LANCommander Playnite Plugin
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.3.1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.1.1
- name: Restore NuGet packages
run: nuget restore LANCommander.sln
- name: Build and Publish Library
run: msbuild LANCommander.Playnite.Extension/LANCommander.PlaynitePlugin.csproj /p:Configuration=Release;OutputPath=Build
- name: Upload Artifact
uses: actions/upload-artifact@v3.1.2
with:
path: Build