Update BemIt.csproj #15
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: | |
- main | |
jobs: | |
publish: | |
name: build, pack & publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
8.0.x | |
- name: Publish NuGet 2 | |
uses: Rebel028/[email protected] | |
with: | |
# Filepath of the project to be packaged, relative to root of repository | |
PROJECT_FILE_PATH: BemIt/BemIt.csproj | |
# API key to authenticate with NuGet server | |
NUGET_KEY: ${{ secrets.NUGET_API_KEY }} |