From d06220b861a21096011cef4c18d4edc9e7a826e4 Mon Sep 17 00:00:00 2001 From: jsakamoto Date: Mon, 2 Oct 2023 10:25:14 +0900 Subject: [PATCH] Fix the GitHub Actions --- .github/workflows/gh-pages.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index fde923e..f5f6ae8 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -10,19 +10,20 @@ jobs: runs-on: ubuntu-latest steps: # Checkout the code - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # Install .NET Core SDK - name: Setup .NET Core - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x + dotnet-quality: 'preview' - name: Install .NET WebAssembly Tools run: dotnet workload install wasm-tools # Publish the site - name: Publish - run: dotnet publish SampleSites/Client/SampleSite.Client.csproj -c:Release -o:public -p:GHPages=true -f:net7.0 + run: dotnet publish SampleSites/Client/SampleSite.Client.csproj -c:Release -o:public -p:GHPages=true -f:net8.0 # Deploy the site - name: Deploy