Skip to content

Nuget Release

Nuget Release #24

Workflow file for this run

name: Nuget Release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up .NET Core 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8
- name: Check .NET version
run: dotnet --version
- name: Check .NET SDKs
run: dotnet --list-sdks
- name: Check .NET runtimes
run: dotnet --list-runtimes
- name: Build
run: dotnet pack -c Release --output .
- name: Publish
uses: alirezanet/[email protected]
with:
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
PROJECT_FILE_PATH: src/NRedisStack/NRedisStack.csproj
PACKAGE_NAME: NRedisStack
TAG_COMMIT: false