Skip to content

1.3.1

1.3.1 #21

Workflow file for this run

name: publish to nuget
on:
release:
types: [published]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Test with dotnet
run: dotnet test
- name: Pack with dotnet
run: dotnet pack Ubl-Tr/UblTr.csproj --configuration Release
- name: Push with dotnet
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json