Skip to content

xml comment add

xml comment add #32

Workflow file for this run

# .NET SDK
# Includes NuGet package update for master branch.
# 2023.04.05
name: .NET
on:
push:
branches: [ "develop", "release", "master" ]
defaults:
run:
working-directory: src
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: |
dotnet build --no-restore -c release ./BOG.DropZone/BOG.DropZone.csproj
- name: NuGet package publish (BOG.DropZone.Common)
if: github.event.ref == 'refs/heads/master'
env:
NGKEY: ${{ secrets.NUGET_API_KEY }}
NGSRC: ${{ vars.NUGET_SOURCE }}
run: |
dotnet nuget push ./BOG.DropZone.Common/bin/release/BOG.DropZone.Common.*.nupkg --api-key ${NGKEY} --source ${NGSRC} --skip-duplicate
- name: NuGet package publish (BOG.DropZone.Client)
if: github.event.ref == 'refs/heads/master'
env:
NGKEY: ${{ secrets.NUGET_API_KEY }}
NGSRC: ${{ vars.NUGET_SOURCE }}
run: |
dotnet nuget push ./BOG.DropZone.Client/bin/release/BOG.DropZone.Client.*.nupkg --api-key ${NGKEY} --source ${NGSRC} --skip-duplicate