Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .nanvix/src/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,16 @@ def _stage_release(self) -> None:
)
log.success("release: staging complete")

# Expose ELF binaries in a visible directory so that CI artifact
# upload globs (e.g. **/*.elf) can find them — hidden directories
# like .nanvix/ are excluded by actions/upload-artifact by default.
elf_out = repo_root() / "elf-binaries"
if elf_out.exists():
shutil.rmtree(elf_out)
elf_out.mkdir()
for elf in (sysroot / "bin").glob("*.elf"):
shutil.copy2(elf, elf_out)

# ------------------------------------------------------------------
# Lifecycle entry point
# ------------------------------------------------------------------
Expand Down
Loading