LANCommander/.github/workflows/LANCommander.PlaynitePlugin...

35 lines
963 B
YAML
Raw Normal View History

2023-04-05 22:20:32 +00:00
# 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:
2023-04-05 22:30:32 +00:00
paths:
- 'LANCommander.Playnite.Extension/**'
- 'LANCommander.SDK/**'
2023-04-05 22:20:32 +00:00
pull_request:
2023-04-05 22:30:32 +00:00
paths:
- 'LANCommander.Playnite.Extension/**'
- 'LANCommander.SDK/**'
2023-04-05 22:20:32 +00:00
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 /p:OutputPath=Build
2023-04-05 22:20:32 +00:00
- name: Upload Artifact
uses: actions/upload-artifact@v3.1.2
with:
path: Build