Skip to content

Commit

Permalink
Show log output
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed Nov 15, 2024
1 parent 9087a90 commit 185967d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ jobs:
'src/Elmah.Io.AspNetCore.HealthChecks/Elmah.Io.AspNetCore.HealthChecks.csproj'
'src/Elmah.Io.AspNetCore.TagHelpers/Elmah.Io.AspNetCore.TagHelpers.csproj'
- name: Get logs from Docker container
run: |
container_id=$(docker ps -l -q)
docker cp $container_id:/tmp/action-log.txt action-log.txt || echo "Log file not found"
cat action-log.txt || echo "No log output available"
- name: Build
run: dotnet build --configuration Release --no-restore

Expand Down

0 comments on commit 185967d

Please sign in to comment.