Skip to content

Setting up scripts downloads whole tarball of gh-aw repo #15155

@dsyme

Description

@dsyme

On performance, I asked the agents about this (we do this 3-4 times but the cost of download is only once as the download is cached):

      - name: Setup Scripts
        uses: github/gh-aw/actions/setup@9513a842d1c5cc736f198db66155b26fc619af6a # v0.43.7
        with:
          destination: /opt/gh-aw/actions

The analysis is that this downloads a tarball/zip of the whole gh-aw repository at that SHA - not just the actions directory.

It suggests using a separate repository to hold the share library of actions. Alternatively I think these SHA could point to a stripped-back version of the repository with all other files deleted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions