Update target frameworks and package versions #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |