Skip to content

Merge pull request #128 from rommapp/chore/bump-0.8.0 #18

Merge pull request #128 from rommapp/chore/bump-0.8.0

Merge pull request #128 from rommapp/chore/bump-0.8.0 #18

Workflow file for this run

name: Build and Package Extension
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+*"
permissions:
contents: write
id-token: write
packages: write
actions: write
jobs:
build:
runs-on: windows-2025-vs2026
steps:
- uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: |
dotnet restore --locked-mode
dotnet add package Microsoft.Net.Sdk.Compilers.Toolset --version 9.0.300
- name: Build with MSBuild
run: |
msbuild RomM.csproj /p:Configuration=Release /p:Platform="AnyCPU" /p:RestorePackages=false
- name: Setup Playnite
run: |
Invoke-WebRequest -Uri "https://github.com/JosefNemec/Playnite/releases/download/10.35/Playnite1035.zip" -OutFile "Playnite.zip"
Expand-Archive "Playnite.zip" -DestinationPath "Playnite"
- name: Pack with Playnite
run: |
mkdir .\PackingOutput
& "Playnite\Toolbox.exe" pack .\bin\Release\net462 .\PackingOutput
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: packed-extension
path: PackingOutput