Skip to content

Update develop.yml

Update develop.yml #7

Workflow file for this run

name: Publish NuGet package
on:
push:
branches: [ "develop" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "0"
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Pack
working-directory: Source/Tazor
run: dotnet pack
- name: Publish
working-directory: Source/Tazor/bin/Release
run: dotnet nuget push "bin/Release" --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json