Skip to content

fix(ci): preserve release dist during scoop update#962

Merged
bupd merged 1 commit into
mainfrom
fix/release-dist-scoop-update
May 26, 2026
Merged

fix(ci): preserve release dist during scoop update#962
bupd merged 1 commit into
mainfrom
fix/release-dist-scoop-update

Conversation

@bupd

@bupd bupd commented May 26, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove the redundant nested checkout from the local scoop-update action.
  • Prevent the release job from deleting dist/ before the later APT build and artifact/image publishing steps consume it.

Root Cause

The Scoop Update step invoked actions/checkout@v4 inside the same publish-release workspace. That checkout ran its clean phase and removed the generated, ignored dist/ directory, causing the following Apt Build Dagger call to fail while resolving --build-dir=./dist.

Testing

  • git diff --check
  • actionlint .github/workflows/default.yaml

Closes #961

Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@bupd bupd force-pushed the fix/release-dist-scoop-update branch from 87e3e00 to 77359b4 Compare May 26, 2026 14:25
@bupd bupd changed the title fix: preserve release dist during scoop update fix(ci): preserve release dist during scoop update May 26, 2026
@bupd bupd merged commit ffc1762 into main May 26, 2026
6 checks passed
@bupd bupd deleted the fix/release-dist-scoop-update branch May 26, 2026 14:25
@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 8.61%. Comparing base (60ad0bd) to head (77359b4).
⚠️ Report is 179 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##             main    #962      +/-   ##
=========================================
- Coverage   10.99%   8.61%   -2.38%     
=========================================
  Files         173     314     +141     
  Lines        8671   15743    +7072     
=========================================
+ Hits          953    1357     +404     
- Misses       7612   14260    +6648     
- Partials      106     126      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: release pipeline deletes dist before Apt Build

2 participants