Skip to content

Merge branch 'master' of https://github.com/hueifeng/snowflake-csharp #54

Merge branch 'master' of https://github.com/hueifeng/snowflake-csharp

Merge branch 'master' of https://github.com/hueifeng/snowflake-csharp #54

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