Skip to content

Commit ab4a255

Browse files
committed
Always show log
1 parent 185967d commit ab4a255

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/dotnet-core.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
'src/Elmah.Io.AspNetCore.TagHelpers/Elmah.Io.AspNetCore.TagHelpers.csproj'
3636
3737
- name: Get logs from Docker container
38+
if: always() # Ensure this step runs even if the previous step fails
3839
run: |
3940
container_id=$(docker ps -l -q)
4041
docker cp $container_id:/tmp/action-log.txt action-log.txt || echo "Log file not found"

0 commit comments

Comments
 (0)