Reverted required dotnet sdk version #131
Workflow file for this run
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 NuGet | |
on: | |
push: | |
tags: | |
- '1.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Build | |
run: | | |
dotnet build Meraki.Api/Meraki.Api.csproj --configuration Release | |
- name: Publish NuGet Package | |
run: | | |
dotnet pack Meraki.Api/Meraki.Api.csproj --configuration Release --no-build -o out | |
# Push the package and symbols | |
dotnet nuget push "out/*.nupkg" -k "${{ secrets.NUGET_API_KEY }}" -s "https://api.nuget.org/v3/index.json" |