Skip to content

[release] Separate crate workflows#29

Merged
gregnazario merged 1 commit intomainfrom
separate-releases
Feb 10, 2026
Merged

[release] Separate crate workflows#29
gregnazario merged 1 commit intomainfrom
separate-releases

Conversation

@gregnazario
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the release GitHub Actions workflow to support publishing aptos-sdk and aptos-sdk-macros independently (via tag prefixes) or together (via manual dispatch input).

Changes:

  • Switch release tag triggers from v* to sdk-v* and macros-v*.
  • Add a resolve job plus workflow_dispatch input to select which crate(s) to publish.
  • Split publishing into separate publish-macros and publish-sdk jobs with dependency handling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +146 to 149
# If macros was just published, wait for crates.io to index it
- name: Wait for crates.io indexing
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.dry_run != true)
if: needs.publish-macros.result == 'success'
run: sleep 120
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

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

The indexing wait step runs whenever the publish-macros job result is success, which includes workflow_dispatch dry runs. That adds an unnecessary 120s delay for crate=both dry runs. Consider gating this step on actually publishing (e.g., also require github.event_name == 'push' or inputs.dry_run != true).

Copilot uses AI. Check for mistakes.
@gregnazario gregnazario merged commit 1440301 into main Feb 10, 2026
20 checks passed
@gregnazario gregnazario deleted the separate-releases branch February 10, 2026 01:17
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.

2 participants