Skip to content

Merge pull request #5 from B3zaleel/bug-fix #2

Merge pull request #5 from B3zaleel/bug-fix

Merge pull request #5 from B3zaleel/bug-fix #2

Workflow file for this run

name: Publish Package
on:
push:
branches: ["main"]
jobs:
publish:
name: Publish Package
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x
- name: Build and pack project files
run: dotnet pack -c Release
- name: Push Nuget packages to Nuget
run: dotnet nuget push **/*.nupkg --api-key "${{ secrets.NUGET_API_KEY }}" --source "https://api.nuget.org/v3/index.json"