Replaced Dns.GetHostName with ${hostname} #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core | |
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 | |
with: | |
dotnet-version: 3.1.101 | |
- name: Build project and package it | |
run: dotnet pack src\NLog.Layouts.GelfLayout\NLog.Layouts.GelfLayout.csproj --configuration Release --include-symbols --output nuget | |
- name: Build test project | |
run: dotnet build src\NLog.Layouts.GelfLayout.Test\NLog.Layouts.GelfLayout.Test.csproj | |
- name: Run tests | |
run: dotnet test src\NLog.Layouts.GelfLayout.Test\NLog.Layouts.GelfLayout.Test.csproj |