name: .NET Core build

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v2
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1.7.0
      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
      uses: rohith/publish-nuget@v2
      with:
        PROJECT_FILE_PATH: PreMailer.Net/PreMailer.Net/PreMailer.Net.csproj
        NUGET_KEY: ${{secrets.NUGET_APIKEY}}

name: .NET Core build

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v2
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1.7.1
      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
      uses: rohith/publish-nuget@v2
      with:
        PROJECT_FILE_PATH: PreMailer.Net/PreMailer.Net/PreMailer.Net.csproj
        NUGET_KEY: ${{secrets.NUGET_APIKEY}}

Bump actions/setup-dotnet from v1.7.0 to v1.7.1
Bump actions/setup-dotnet from v1.7.0 to v1.7.1

Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from v1.7.0 to v1.7.1.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v1.7.0...7a98346f51166aa847a6eeafa446690816e007b7)

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>