Skip to content

feat: update dependency nhibernate to v5.4.9 [security] (#44) #73

feat: update dependency nhibernate to v5.4.9 [security] (#44)

feat: update dependency nhibernate to v5.4.9 [security] (#44) #73

Workflow file for this run

name: .NET
on:
push:
branches: [ "main" ]
tags: [ "*" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Pack
run: dotnet pack -c Release -o out -p:ContinuousIntegrationBuild=true
- name: Push
run: dotnet nuget push *.nupkg -s nuget.org -k $NUGET_API_KEY
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
working-directory: out
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}