Skip to content

Commit

Permalink
Always show log
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed Nov 15, 2024
1 parent 185967d commit ab4a255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
'src/Elmah.Io.AspNetCore.TagHelpers/Elmah.Io.AspNetCore.TagHelpers.csproj'
- name: Get logs from Docker container
if: always() # Ensure this step runs even if the previous step fails
run: |
container_id=$(docker ps -l -q)
docker cp $container_id:/tmp/action-log.txt action-log.txt || echo "Log file not found"
Expand Down

0 comments on commit ab4a255

Please sign in to comment.