Skip to content

Updated Tacta.Connection nugget (#23) #4

Updated Tacta.Connection nugget (#23)

Updated Tacta.Connection nugget (#23) #4

Workflow file for this run

name: publish nuget package
on:
push:
branches: [ "main" ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ vars.DOTNET_VERSION }}
- name: Build sln to generate nupkg
run: dotnet build
- name: Publish NuGet package
run: |
for file in ${{ vars.PACKAGE_DIRECTORY }}/*.nupkg; do
dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source ${{ vars.NUGET_SOURCE }};
done