Skip to content

Commit d9f6ddf

Browse files
autarchclaude
andcommitted
Isolate DateTime::Locale configure failure and dump build log
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b7bd8cc commit d9f6ddf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,15 @@ jobs:
1616
- name: Perl version
1717
run: perl -V
1818

19+
- name: Install DateTime::Locale with cpanm (verbose)
20+
run: cpanm --verbose --notest DateTime::Locale
21+
22+
- name: Show cpanm build log on failure
23+
if: failure()
24+
shell: pwsh
25+
run: |
26+
$log = "$env:USERPROFILE\.cpanm\work\$(Get-ChildItem $env:USERPROFILE\.cpanm\work | Sort-Object LastWriteTime -Descending | Select-Object -First 1 -ExpandProperty Name)\build.log"
27+
if (Test-Path $log) { Get-Content $log }
28+
1929
- name: Install DateTime with cpanm (verbose)
2030
run: cpanm --verbose --notest DateTime

0 commit comments

Comments
 (0)