Skip to content

Conversation

Mpdreamz
Copy link
Member

Introduce a new GitHub Action named "Documentation Assembler" to run specified assembler commands using a Docker image.

Introduce a new GitHub Action named "Documentation Assembler" to run specified assembler commands using a Docker image.
Comment on lines +4 to +6
branding:
icon: 'filter'
color: 'red'
Copy link
Member

Choose a reason for hiding this comment

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

nit: This is not really required. And I think you can only ever see this if it was published in the marketplace

Console.WriteLine($"Checkout: {name}\t{repository}\t{checkoutFolder}");
var branch = repository.Branch ?? "main";
var args = new StartArguments(
"git", "clone", repository.Origin, checkoutFolder, "--depth", "1"
Copy link
Member

Choose a reason for hiding this comment

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

What about sparse-checkout? Did you already try that?

Copy link
Member Author

Choose a reason for hiding this comment

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

I followed the 4 clone patterns defined here: https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/

But can't remember the results :)

Will go over it again when we set up our runner.

Copy link
Member

Choose a reason for hiding this comment

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

Yup. In our case we can only download the docs folder.

@Mpdreamz Mpdreamz merged commit dd154c7 into main Feb 14, 2025
7 checks passed
@Mpdreamz Mpdreamz deleted the feature/assembler-gh-action branch February 14, 2025 15:26
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