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

Change actions back #164

Merged
merged 1 commit into from
Sep 19, 2023
Merged

Change actions back #164

merged 1 commit into from
Sep 19, 2023

Conversation

Southpaw1496
Copy link
Contributor

@Southpaw1496 Southpaw1496 commented Sep 19, 2023

Recently I changed our CI pipeline to use GitHub's default actions/checkout instead of a custom one. It turns out the custom one was important.


See preview on Cloudflare Pages: https://preview-164.quiltmc-org.pages.dev

This reverts commit b9428ae.

It turns out that using the custom action *was* important after all.
Copy link
Contributor

@Akarys42 Akarys42 left a comment

Choose a reason for hiding this comment

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

For additional context, the default action uses a fetch-depth of 1, meaning it does the shallowest of clones possible and only fetches the latest commit and its associated blobs. We change the fetch-depth to 0, to download the entire history, so we have the commits and trees required to look up the last modified timestamp of each file. The problem with this approach is that literally every blob (each version of every file) will be downloaded, making the download time fairly long. This custom action allows you to lazily fetch blobs with the blob:none filter, meaning effectively only blobs in the latest commit will be downloaded.

@Southpaw1496 Southpaw1496 merged commit c137e09 into main Sep 19, 2023
3 checks passed
@Southpaw1496 Southpaw1496 deleted the change-actions-back branch October 14, 2023 17:55
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.

all pages say they were edited on the same date
3 participants