Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors