Skip to content

Commit

Permalink
Changing rest api main folder dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rz-georgiev authored Dec 2, 2024
1 parent 71abffb commit d382b22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Restore .NET dependencies
run: dotnet restore ./Server/MotoDev # Specify the folder for the .NET app here
run: dotnet restore ./Server/MotoDev/Src/MotoDev.Api # Specify the folder for the .NET app here

- name: Build .NET project
run: dotnet build ./Server/MotoDev --no-restore --configuration Release # Specify the folder for the .NET app here
run: dotnet build ./Server/MotoDev/Src/MotoDev.Api --no-restore --configuration Release # Specify the folder for the .NET app here

- name: Run .NET tests
run: dotnet test ./Server/MotoDev --no-build --verbosity normal # Specify the folder for the .NET app here
run: dotnet test ./Server/MotoDev/Src/MotoDev.Api --no-build --verbosity normal # Specify the folder for the .NET app here

# Set up Node.js
- name: Setup Node.js
Expand Down Expand Up @@ -94,5 +94,5 @@ jobs:

- name: Publish .NET API
run: |
dotnet publish ./Server/MotoDev -c Release -o publish # Specify the folder for the .NET app here
dotnet publish ./Server/MotoDev/Src/MotoDev.Api -c Release -o publish # Specify the folder for the .NET app here
# Add your deployment script here (e.g., copy files to a server or upload to a cloud service)

0 comments on commit d382b22

Please sign in to comment.