-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make minor fixes to the crate claim workflow #2259
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,9 @@ | |
# This workflow claims the names of the unpublished crates in this repository | ||
# on crates.io (by publishing a dummy empty package) | ||
|
||
# Allow only one release to run at a time | ||
# Allow only one crate claim workflow to run at a time | ||
concurrency: | ||
group: release-smithy-rs | ||
group: claim-crates-smithy-rs | ||
cancel-in-progress: true | ||
|
||
env: | ||
|
@@ -56,6 +56,7 @@ jobs: | |
claim: | ||
name: Claim crate names | ||
needs: | ||
- main-branch-check | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Without depending on this, the two jobs race each other. |
||
- acquire-base-image | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -65,8 +66,6 @@ jobs: | |
toolchain: ${{ env.rust_version }} | ||
- name: Checkout smithy-rs | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }} | ||
Comment on lines
-68
to
-69
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't needed since we're not pushing to smithy-rs. |
||
- name: Publish to crates.io | ||
shell: bash | ||
env: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It wouldn't be so good for this workflow to cancel an ongoing release that happens to be running at 11 UTC 😄