Skip to content

Commit e98d7ad

Browse files
Update build-cli.yml
1 parent e2903c2 commit e98d7ad

1 file changed

Lines changed: 29 additions & 2 deletions

File tree

.github/workflows/build-cli.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,22 @@ jobs:
3333
- name: Build
3434
run: uv run poe nuitka-linux
3535

36+
- name: Show build outputs
37+
run: ls -la
38+
39+
- name: Verify Linux artifact exists
40+
run: |
41+
if ! ls ./app* >/dev/null 2>&1; then
42+
echo "No artifact found"; exit 1
43+
else
44+
echo "Found artifact(s):"; ls ./app*
45+
fi
46+
3647
- name: Upload Linux CLI artifact
3748
uses: actions/upload-artifact@v4
3849
with:
3950
name: cli-linux
40-
path: ./src/cli/app.bin
51+
path: ./src/cli/**/app*
4152

4253
build-windows:
4354
runs-on: windows-latest
@@ -58,8 +69,24 @@ jobs:
5869
- name: Build (Windows) via poe
5970
run: uv run poe nuitka
6071

72+
- name: Show build outputs
73+
run: |
74+
Get-ChildItem -Path . -Recurse -File | Select-Object FullName
75+
shell: powershell
76+
77+
- name: Verify Windows artifact exists
78+
run: |
79+
$files = Get-ChildItem -Path . -Filter 'app*.exe' -Recurse -File
80+
if ($files.Count -eq 0) {
81+
Write-Error 'No exe found'
82+
exit 1
83+
} else {
84+
$files | ForEach-Object { Write-Host "Found: $($_.FullName)" }
85+
}
86+
shell: powershell
87+
6188
- name: Upload Windows CLI artifact
6289
uses: actions/upload-artifact@v4
6390
with:
6491
name: cli-windows
65-
path: ./src/cli/app.exe
92+
path: ./src/cli/**/app*.exe

0 commit comments

Comments
 (0)