Skip to content

Update Dialogative.csproj #29

Update Dialogative.csproj

Update Dialogative.csproj #29

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Pack with dotnet
run: dotnet pack Dialogative --configuration Release
- name: Push to Github Packages
run: dotnet nuget push ./Dialogative/bin/Release/Dialogative.*.nupkg --source "https://nuget.pkg.github.com/ydinkov/index.json" --api-key ${{ secrets.GH_PACKAGES_TOKEN }}
- name: Push to Nuget
run: dotnet nuget push ./Dialogative/bin/Release/Dialogative.*.nupkg -s https://www.nuget.org/ -k ${{ secrets.NUGET_API_KEY }}