Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
p6laris authored Mar 7, 2024
1 parent 57ad39a commit 8382fec
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,27 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Add AOT Workload
run: |
dotnet workload install wasm-tools-net7
dotnet workload restore
- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

# publishes Blazor project to the release-folder
- name: Publish Blazor
run: dotnet publish ./AraratMorse/AraratMorse.csproj -c Release -o release --nologo

- name: Commit wwwroot to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
Expand Down

0 comments on commit 8382fec

Please sign in to comment.