Skip to content

Merge pull request #18 from B3zaleel/encode-connectivity #7

Merge pull request #18 from B3zaleel/encode-connectivity

Merge pull request #18 from B3zaleel/encode-connectivity #7

Workflow file for this run

name: Publish Package
on:
push:
branches: ["main"]
jobs:
publish:
name: Publish Package
runs-on: ubuntu-latest
strategy:
matrix:
version: [8.x, 7.x, 6.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.version }}
- 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" --skip-duplicate