Skip to content

Commit

Permalink
Fix backend issue after adding docker project
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinther committed May 3, 2024
1 parent 015b2c9 commit 874be49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ concurrency:
env:
DOTNET_VERSION: "8.0.x"
BACKEND_SOLUTION_PATH: "src/backend"
BACKEND_SOLUTION_FILE: "Backend.sln"
WORKFLOW_SHORT_NAME: "backend-ci"
WORKFLOW_AGENT_PATH: "/home/runner/work/test/test/"

Expand Down Expand Up @@ -63,15 +64,15 @@ jobs:
key: nuget-${{ hashFiles('**/packages.lock.json') }}

- name: dotnet restore
run: dotnet restore --locked-mode
run: dotnet restore --locked-mode ${{ env.BACKEND_SOLUTION_FILE }}

- name: dotnet tool restore
run: dotnet tool restore

- name: Build
id: dotnet-build
run: |
dotnet build -c Release --no-restore --nologo -consoleLoggerParameters:NoSummary -verbosity:quiet 1>build.out 2>&1 || (exit 0)
dotnet build ${{ env.BACKEND_SOLUTION_FILE }} -c Release --no-restore --nologo -consoleLoggerParameters:NoSummary -verbosity:quiet 1>build.out 2>&1 || (exit 0)
grep "): error " build.out > build.err || (exit 0)
if [ ! -s build.err ]
Expand Down

0 comments on commit 874be49

Please sign in to comment.