Skip to content

Update dotnet-core.yml #53

Update dotnet-core.yml

Update dotnet-core.yml #53

Workflow file for this run

name: publish to nuget
on:
push:
branches:
- master # Default release branch
jobs:
publish:
name: list on nuget
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
include-prerelease: true
# Publish
- name: publish on version change
id: publish_nuget
uses: rohith/publish-nuget@v2
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: Snowflake/Snowflake.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
PACKAGE_NAME: Snowflake.CSharp
- name: publish on version change
uses: rohith/publish-nuget@v2
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: Snowflake.Redis/Snowflake.Redis.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
PACKAGE_NAME: Snowflake.Redis.CSharp