Skip to content

fix: use workflow artifacts for library docs in release workflow#861

Merged
milldr merged 2 commits intomasterfrom
milldr/fix-release-workflow
Jan 28, 2026
Merged

fix: use workflow artifacts for library docs in release workflow#861
milldr merged 2 commits intomasterfrom
milldr/fix-release-workflow

Conversation

@milldr
Copy link
Member

@milldr milldr commented Jan 28, 2026

what

  • Release workflow now uses freshly generated library docs via workflow artifacts instead of attempting to download from GitHub releases
  • Fixes deployment failures where the release workflow would fail looking for pre-existing release assets
  • Added skip_library_download input to build-website action to allow bypassing release downloads

why

  • The release workflow generates library docs but was looking for them in release assets (different from workflow artifacts)
  • By using workflow artifacts, the release gets the most recently generated docs in the same workflow run
  • Preview/staging workflows continue using release-based downloads as appropriate for their use case

references

  • Fixes release deployment failures with error: "No library-docs.tar.gz found in any release"

The release workflow now generates library docs and uses them directly via workflow artifacts instead of attempting to look them up from GitHub releases. This fixes the issue where release deployments would fail looking for pre-existing release assets.

Changes:
- generate-library.yml uploads library-docs.tar.gz as a workflow artifact
- build-website action adds skip_library_download input to bypass release download
- website-deploy-release.yml downloads the artifact and passes skip_library_download=true

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Update the download logic to search through all releases (drafts and
published) in order of most recent first until finding one that has
the library-docs.tar.gz asset. This ensures preview environments can
always use the most recently available library docs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@milldr milldr merged commit 17710ef into master Jan 28, 2026
3 checks passed
@milldr milldr deleted the milldr/fix-release-workflow branch January 28, 2026 14:50
Benbentwo added a commit that referenced this pull request Jan 28, 2026
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants