Skip to content

Commit

Permalink
Update web-editor-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankarBUS committed Aug 31, 2024
1 parent 5633f27 commit 65ad18a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/web-editor-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
path: Symptum.Data
- name: Correct Web Manifest Scope
run: |
cd ./main/src/Symptum.Editor/Symptum.Editor.Wasm/
cd ./main/src/Symptum.Editor/Platforms/WebAssembly/
(Get-Content manifest.webmanifest) -Replace '/', '/editor/' | Set-Content manifest.webmanifest
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore Dependencies
run: dotnet restore ./main/src/Symptum.Editor/Symptum.Editor.Wasm/Symptum.Editor.Wasm.csproj
run: dotnet restore ./main/src/Symptum.Editor/Symptum.Editor.csproj
- name: Publish
run: dotnet publish ./main/src/Symptum.Editor/Symptum.Editor.Wasm/Symptum.Editor.Wasm.csproj "-p:WasmShellWebAppBasePath=/editor/" --no-restore -f net8.0 -c Release -o out
run: dotnet publish ./main/src/Symptum.Editor/Symptum.Editor.csproj "-p:WasmShellWebAppBasePath=/editor/" --no-restore -f net8.0-browserwasm -c Debug -o out
- name: Create Editor Folder
run: mkdir editor
- name: Copy Files to Editor Folder
Expand Down

0 comments on commit 65ad18a

Please sign in to comment.