mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-04-04 14:54:11 -04:00
Add explicit apps/server workdir for wasm tool install invocations (#1355)
This commit is contained in:
committed by
Leendert de Borst
parent
fd64ea8647
commit
198fc57d93
@@ -24,6 +24,7 @@ jobs:
|
||||
dotnet-version: 9.0.x
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: apps/server
|
||||
run: dotnet workload install wasm-tools
|
||||
|
||||
- name: Build
|
||||
|
||||
1
.github/workflows/dotnet-unit-tests.yml
vendored
1
.github/workflows/dotnet-unit-tests.yml
vendored
@@ -23,6 +23,7 @@ jobs:
|
||||
dotnet-version: 9.0.x
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: apps/server
|
||||
run: dotnet workload install wasm-tools
|
||||
|
||||
- name: Restore dependencies
|
||||
|
||||
@@ -14,11 +14,12 @@ RUN mkdir -p /src/msbuild-logs
|
||||
# Install Python which is required by the WebAssembly tools
|
||||
RUN apt-get update && apt-get install -y python3 && apt-get clean
|
||||
|
||||
# Install the WebAssembly tools
|
||||
# Install the WebAssembly tools with correct dotnet version auto-detected from apps/server folder.
|
||||
WORKDIR /src/apps/server
|
||||
RUN dotnet workload install wasm-tools
|
||||
|
||||
# Copy all project files
|
||||
COPY apps/server .
|
||||
COPY apps/server /src
|
||||
|
||||
# Build the Client project
|
||||
WORKDIR "/src/AliasVault.Client"
|
||||
|
||||
Reference in New Issue
Block a user