Skip to content

v2.0.5

v2.0.5 #6

Workflow file for this run

name: PresentMonFps Library
on:
release:
types: [created]
push:
branches:
- v2
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.0.x
- name: Setup Windows SDK
uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.5
- name: Install dependencies
run: cd src && dotnet restore PresentMonFps.csproj
- name: Build
run: cd src && dotnet build PresentMonFps.csproj --configuration Release --no-restore
- name: Pack
run: cd src && dotnet pack PresentMonFps.csproj -c Release --no-build -o ../
- name: Push NuGet package
# run: dotnet nuget push "out\*.nupkg" -k ${{secrets.NUGET_AUTH_TOKEN}} --source https://api.nuget.org/v3/index.json
uses: actions/upload-artifact@v3
with:
name: nuget-packages
path: ./*.nupkg