Skip to content

Make code archive

Actions

About

Archive Shamrock with submodules and upload as an artifact
v1.1
Latest
Star (0)

Tags

 (1)

Make Code Archive

GitHub composite action that archives the repository calling it (including submodules) and uploads the result as a workflow artifact.

Usage

jobs:
  archive:
    runs-on: ubuntu-latest
    permissions:
      contents: read
    steps:
      - uses: Shamrock-code/action-make-code-archive@v1.1
        with:
          output_name: archive_name.tar.gz

Inputs

Name Required Description
output_name Yes Output archive filename and artifact name. Must end with .tar.gz.

Requirements

  • The action checks out the repository and initializes submodules, so it works whether or not the caller has already run actions/checkout.
  • Artifact upload uses the default GITHUB_TOKEN. Ensure the job has permission to upload artifacts (the default permissions in most workflows is sufficient).

License

MIT — see LICENSE.

Make code archive is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Archive Shamrock with submodules and upload as an artifact
v1.1
Latest

Tags

 (1)

Make code archive is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.