Skip to content

Merge pull request #116 from cairoshell/handle-cloak-event #281

Merge pull request #116 from cairoshell/handle-cloak-event

Merge pull request #116 from cairoshell/handle-cloak-event #281

Workflow file for this run

name: ManagedShell
on:
push:
branches: [ master ]
paths-ignore: [ '.github/**' ]
pull_request:
branches: [ master ]
paths-ignore: [ '.github/**' ]
jobs:
build:
strategy:
matrix:
buildconfig: [ Release ]
runs-on: windows-latest
env:
project: src\ManagedShell\ManagedShell.csproj
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install nbgv
uses: dotnet/[email protected]
- name: Build
run: dotnet build $env:project -c $env:config --disable-parallel
env:
config: ${{ matrix.buildconfig }}
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ManagedShell nupkg
path: '**\*.nupkg'
- name: Publish to NuGet
if: matrix.buildconfig == 'Release' && github.event_name == 'push'
run: dotnet nuget push **\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate