Skip to content

Fixes #11 Adds XML documentation #7

Fixes #11 Adds XML documentation

Fixes #11 Adds XML documentation #7

Workflow file for this run

name: Main
on:
push:
branches: [main]
paths-ignore:
- "*.md"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Build
run: dotnet build -c Release
- name: Test
run: dotnet test -c Release
- name: Publish
run: dotnet publish -c Release
- name: Push to Nuget
env:
NUGET_TOKEN: ${{secrets.NUGET_TOKEN}}
run: dotnet nuget push --api-key $NUGET_TOKEN --source https://api.nuget.org/v3/index.json ./src/AutoRegisterInject/bin/Release/*.nupkg