Skip to content

Commit

Permalink
TEST-1234 Fix relative path in pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinther committed Apr 19, 2024
1 parent 8258423 commit 832b7b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ env:
DOTNET_VERSION: "8.0.x"
BACKEND_SOLUTION_PATH: "src/backend"
WORKFLOW_SHORT_NAME: "backend-ci"
WORKFLOW_AGENT_PATH: "TODO"
WORKFLOW_AGENT_PATH: "/home/runner/work/test/test/"

jobs:
build:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
fi
done
cp build.err build.md
cat build.err | sed 's|${{ env.WORKFLOW_AGENT_PATH }}||' ; 's|${{ env.WORKFLOW_AGENT_PATH }}||' > build.md
sed -i '/^$/d' build.md # removes empty lines
sed -i -e 's/^/- ❌ /' build.md # prefix with markdown list item and cross mark emoji
echo "## ❌ The following build issues should be fixed:" | cat - build.md > build.md.temp && mv build.md.temp build.md
Expand Down

0 comments on commit 832b7b5

Please sign in to comment.