Skip to content

Build(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 in /PreMailer.Net/PreMailer.Net.Tests #386

Build(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 in /PreMailer.Net/PreMailer.Net.Tests

Build(deps): Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 in /PreMailer.Net/PreMailer.Net.Tests #386

Workflow file for this run

name: .NET Core build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [published]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/[email protected]
- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: 3.1.101
- name: Install dependencies
working-directory: ./PreMailer.Net
run: dotnet restore
- name: Build
working-directory: ./PreMailer.Net
run: dotnet build --configuration Release --no-restore
- name: Test
working-directory: ./PreMailer.Net
run: dotnet test --no-restore --verbosity normal --collect "Code coverage"
# Publish
- name: publish on version change
if: ${{ github.event_name == 'release' }}
uses: rohith/[email protected]
with:
PROJECT_FILE_PATH: PreMailer.Net/PreMailer.Net/PreMailer.Net.csproj
NUGET_KEY: ${{secrets.NUGET_APIKEY}}