Skip to content

ci(nuget): remove useless command #5

ci(nuget): remove useless command

ci(nuget): remove useless command #5

Workflow file for this run

name: NuGet Publish
on:
push:
branches:
- main
jobs:
publish-nuget:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and publish NuGet package
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
dotnet restore
dotnet build --configuration Release
dotnet pack --configuration Release --no-build
dotnet nuget push **/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate