Skip to content

Merge pull request #79 from AbdoMahfoz/bug-targetChildList #138

Merge pull request #79 from AbdoMahfoz/bug-targetChildList

Merge pull request #79 from AbdoMahfoz/bug-targetChildList #138

Workflow file for this run

name: .NET 6 & 7
on:
push:
branches: [ master ]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Build solution and generate NuGet package
run: |
cd src\DotNetEd.CoreAdmin
dotnet pack -c Release -o out
- name: Setup nuget
uses: nuget/setup-nuget@v1
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
- name: Push generated package to Nuget
run: nuget push src\DotNetEd.CoreAdmin\out\*.nupkg -SkipDuplicate -NoSymbols -Source https://api.nuget.org/v3/index.json