From d5409988e8e33d629d30c1c5b95401dbbea36bcd Mon Sep 17 00:00:00 2001 From: Jcparkyn Date: Thu, 12 Nov 2020 16:34:13 +1100 Subject: [PATCH 1/2] Update publish directory for GH action --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06b0d473..db1d6199 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ name: DeployToGitHubPages env: - PUBLISH_DIR: Nodexr/bin/Release/netstandard2.1/publish/wwwroot + PUBLISH_DIR: Nodexr/bin/Release/net5.0/publish/wwwroot # Controls when the action will run on: From 80cf6eb15b24acba219231c9be777338e3466b93 Mon Sep 17 00:00:00 2001 From: Jcparkyn Date: Thu, 12 Nov 2020 16:54:28 +1100 Subject: [PATCH 2/2] Set dotnet version for automated build --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index db1d6199..429c5062 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '5.0.x' + - name: Publish app run: dotnet publish -c Release