Skip to content
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

ci: Fix uploading latest canary version #25725

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

bartlomieju
Copy link
Member

No description provided.

- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 50
Copy link
Member

Choose a reason for hiding this comment

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

curious: why 50?

Copy link
Member

@satyarohith satyarohith left a comment

Choose a reason for hiding this comment

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

LGTM

if fetch-depth can be 0, we can save some time but i might have missed the requirement for it.

@bartlomieju
Copy link
Member Author

LGTM

if fetch-depth can be 0, we can save some time but i might have missed the requirement for it.

The requirement is that CI was broken in the past 2 days, because we only fetched last 5 commits. So when I fixed the original problem the canary was still not uploaded because the latest canary on dl.deno.land was like ~20 commits back and it was not present in git history - so we script thought that a newer version is already available.

@bartlomieju bartlomieju enabled auto-merge (squash) September 19, 2024 11:36
@bartlomieju bartlomieju merged commit 51cac07 into denoland:main Sep 19, 2024
17 checks passed
@bartlomieju bartlomieju deleted the fix_canary_latest branch September 19, 2024 11:46
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.

4 participants