31 lines
625 B
YAML
31 lines
625 B
YAML
name: build dll
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup NuGet
|
|
uses: NuGet/setup-nuget@v1.1.1
|
|
|
|
- name: Restore NuGet packages
|
|
run: nuget restore psycastDontNeedPsyfocus.sln
|
|
|
|
- name: Build with MSBuild
|
|
run: msbuild psycastDontNeedPsyfocus.csproj /p:Configuration=Release
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: mod-dll
|
|
path: bin\Release\psycastDontNeedPsyfocus.dll
|