Skip to content

Commit

Permalink
Fix the GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Oct 2, 2023
1 parent 066e181 commit d06220b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d06220b

Please sign in to comment.