Skip to content

fix: Compressed the files into .zip and .tar.gz - #8

Merged
RaymondSu-Public-Base merged 1 commit into
mainfrom
7-cd-workflow-failure-on-main-branch-run-5
May 18, 2026
Merged

RaymondSu-Public-Base merged 1 commit into
mainfrom
7-cd-workflow-failure-on-main-branch-run-5

Conversation

@RaymondSu-Public-Base

Copy link
Copy Markdown
Owner

Summary

Describe what this PR changes and why.

Compressed the files into .zip and .tar.gz to avoid uploading too many files

Related Issue

  • Closes #
  • Related: #

Type Of Change

  • feat: new feature
  • fix: bug fix
  • docs: documentation only
  • test: tests added or updated
  • chore: maintenance/refactor/build/ci updates

What Changed

  • cd.yml

How To Test

List exact commands and expected outcomes.

poetry run pytest -m "not slow" -v
poetry run python -m hello_python.codestyle check

Checklist

  • Pre-commit hooks pass (poetry run pre-commit run --all-files)
  • Lint passes (poetry run ruff check .)
  • Format passes (poetry run ruff format --check .)
  • Tests pass (poetry run pytest -m "not slow")
  • Build succeeds (poetry run python -m hello_python.build) (if applicable)
  • CI pipeline passes on this branch

Validation Evidence

Paste relevant output:

# pytest / ruff / build output

UI/UX Changes (if applicable)

  • No UI changes
  • UI updated (attach screenshots)
  • Docs updated (README.md or docs/*)

Before/After screenshots or links:

  • Before:
  • After:

CI Checklist

  • Workflow changes reviewed (.github/workflows/*)
  • poetry.lock updated when dependencies changed
  • Headless test requirements handled (QT_QPA_PLATFORM=offscreen when needed)

Risk And Rollback

  • Risk level: Low / Medium / High
  • Rollback plan:

Reviewer Checklist

  • Scope is clear and focused
  • Code/docs are understandable
  • Tests are sufficient for changed behavior
  • No obvious regressions

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CD workflow to package downloaded CI artifacts into compressed archives (.zip for Windows, .tar.gz for others) before uploading them as release-candidate assets, reducing the number of individual files attached to a GitHub release.

Changes:

  • Adds a "Package artifacts" step that iterates over artifacts/* subdirectories and creates per-artifact archives in release-assets/.
  • Switches the softprops/action-gh-release files glob from artifacts/**/* to release-assets/*.

@RaymondSu-Public-Base
RaymondSu-Public-Base merged commit 19835bb into main May 18, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CD workflow failure on main branch – Run #5

2 participants