Skip to content

Add action to download the source code tar.gz of a GitHub release  #529

Open
@mokagio

Description

@mokagio

Since moving to XCFramework as the integration method for Gutenberg for Mobile Apps, we have been downloading the source code via Git in order to generate strings, see wordpress-mobile/WordPress-iOS#21416.

Needless to say, checking out the whole repo take a long time, even with --depth 1, which is one of the reasons we moved to XCFramework in the first place.

As we work to hand over release management to the devs, see https://github.com/Automattic/apps-infra-plans/issues/5, it would be good to take the time to remove this bottleneck.

One idea I have is to download the source code from the GitHub release (assuming a release is used, which is in most of the integration cases). After all, what we don't need Git history, only a snapshot of the code.

For reference, the archive for version 1.109.2 is around 20 MB

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions