Skip to content

Create PULL_REQUEST_TEMPLATE.md #7

Create PULL_REQUEST_TEMPLATE.md

Create PULL_REQUEST_TEMPLATE.md #7

Workflow file for this run

name: .NET Build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Build
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.200
- 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: Pack nugets
run: dotnet pack MenuFramework/MenuFramework.csproj -c Release --no-build --output .
- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate