Skip to content

Replaced Dns.GetHostName with ${hostname} #37

Replaced Dns.GetHostName with ${hostname}

Replaced Dns.GetHostName with ${hostname} #37

Workflow file for this run

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