From 2592b93e6a7db9e0942f3385cc4b30b9f7c45ebb Mon Sep 17 00:00:00 2001 From: Alexander Forbes-Reed Date: Mon, 27 Apr 2020 20:08:26 +0100 Subject: [PATCH] Changes to action --- .github/workflows/{dotnetcore.yml => dotnet.yml} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename .github/workflows/{dotnetcore.yml => dotnet.yml} (54%) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnet.yml similarity index 54% rename from .github/workflows/dotnetcore.yml rename to .github/workflows/dotnet.yml index b160d0a2..41da6d84 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnet.yml @@ -1,4 +1,4 @@ -name: .NET Core +name: Runner (dotnet) on: push: @@ -9,6 +9,10 @@ on: jobs: build: runs-on: ubuntu-latest + env: + DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1 + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 + DOTNET_CLI_TELEMETRY_OPTOUT: 1 steps: - uses: actions/checkout@v2 - name: Setup .NET Core @@ -16,6 +20,6 @@ jobs: with: dotnet-version: 3.1.101 - name: Install dependencies - run: dotnet restore + run: dotnet restore ./dotnet - name: Build - run: dotnet build --configuration Release --no-restore + run: dotnet build --configuration Release --no-restore --project ./dotnet