{"id":23709913,"url":"https://github.com/nxtlvlsoftware/tar-ops-action","last_synced_at":"2026-02-06T10:30:22.256Z","repository":{"id":50284966,"uuid":"483129412","full_name":"NxtLvLSoftware/tar-ops-action","owner":"NxtLvLSoftware","description":"GitHub action for running tar operations in actions workflows.","archived":false,"fork":false,"pushed_at":"2024-01-31T21:07:21.000Z","size":8587,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T09:41:27.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NxtLvLSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-19T06:49:26.000Z","updated_at":"2023-08-29T17:27:00.000Z","dependencies_parsed_at":"2023-02-16T09:46:33.379Z","dependency_job_id":null,"html_url":"https://github.com/NxtLvLSoftware/tar-ops-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Ftar-ops-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Ftar-ops-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Ftar-ops-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NxtLvLSoftware%2Ftar-ops-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NxtLvLSoftware","download_url":"https://codeload.github.com/NxtLvLSoftware/tar-ops-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239793630,"owners_count":19698026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-30T18:58:54.399Z","updated_at":"2026-02-06T10:30:22.171Z","avatar_url":"https://github.com/NxtLvLSoftware.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Action nxtlvlsoftware/tar-ops-action\n\nGitHub action for running tar operations in actions workflows.\n\n| Action Input | Required | Default            | Description                                                                                                              |\n|--------------|----------|--------------------|--------------------------------------------------------------------------------------------------------------------------|\n| operation    | true     |                    | Specifies the tar operation to run. Options are: compress (alias = c) OR extract (alias = x)                             |\n| files        | true     |                    | Specifies the files to compress OR a single tar archive to extract. List syntax supported (see example below.)           |\n| outPath      | true     |                    | Specifies the output tar file OR the directory to extract files to.                                                      |\n| cwd          | false    | action working dir | Specifies the current working directory for operations (will be prepended to files and outPath if they're not absolute.) |\n\n## How to use\nSimple tar archive creation and artifact upload:\n\n```yml\nname: My Workflow\non: [push]\njobs:\n  create-archive:\n    name: tar\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n      - uses: nxtlvlsoftware/tar-ops-action@v1\n        with:\n          operation: compress\n          files: |\n            My-Repo/index.ts\n            My-Repo/src\n            My-Repo/node_modules\n          outPath: My-Repo-Sources.tar.gz\n      - name: Upload artifacts\n        uses: actions/upload-artifact@v3\n        with:\n          name: My-Repo-Sources-Compressed\n          path: My-Repo-Sources.tar.gz\n          retention-days: 1\n```\n\nThen download and extract your archive in another run step:\n```yml\nname: My Workflow 2\non: [push]\njobs:\n  setup-php:\n    name: tar extract\n    runs-on: ubuntu-latest\n    steps:\n      - name: Download all artifacts from this action run\n        uses: actions/download-artifact@v3\n        with:\n          path: ./\n      - uses: nxtlvlsoftware/tar-ops-action@v1\n        with:\n          operation: extract\n          files: ./My-Repo-Sources.tar.gz\n          outPath: ./My-Repo-Sources\n```\n\n## Use cases\nAllows checking-out your repo, running dependency management commands, code linting and other build/compile time steps, then re-using the processed code across multiple steps without running all the prerequisites again.\n\n## License\n`nxtlvlsoftware/tar-ops-action` is open-sourced software licensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxtlvlsoftware%2Ftar-ops-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxtlvlsoftware%2Ftar-ops-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxtlvlsoftware%2Ftar-ops-action/lists"}