Skip to content

Readme

Readme #2

name: Publish Packages
on:
push:
branches: [ "main" ]
paths:
- 'src/Spoleto.VirtualKassa.MultiBank/**'
- 'LICENSE'
- 'README.md'
pull_request:
branches: [ main ]
jobs:
Build-Tests-Publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish to Nuget
uses: alirezanet/[email protected]
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: src/Spoleto.VirtualKassa.MultiBank/Spoleto.VirtualKassa.MultiBank.csproj
# API key to authenticate with NuGet server
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default
INCLUDE_SYMBOLS: true
# Flag to toggle git tagging, enabled by default
TAG_COMMIT: false