{"id":13912506,"url":"https://github.com/vimtor/action-zip","last_synced_at":"2025-09-14T22:12:18.559Z","repository":{"id":37026430,"uuid":"248855882","full_name":"vimtor/action-zip","owner":"vimtor","description":"🗄️ Action for zipping files easily","archived":false,"fork":false,"pushed_at":"2024-03-06T08:06:41.000Z","size":50,"stargazers_count":88,"open_issues_count":10,"forks_count":35,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-12T06:24:51.447Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/vimtor.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-20T21:31:43.000Z","updated_at":"2025-02-18T03:15:30.000Z","dependencies_parsed_at":"2024-01-14T08:17:49.772Z","dependency_job_id":"1a352212-8265-441b-af65-7787aab2f0e1","html_url":"https://github.com/vimtor/action-zip","commit_stats":{"total_commits":24,"total_committers":7,"mean_commits":"3.4285714285714284","dds":0.5416666666666667,"last_synced_commit":"26a249fb00d43ca98dad77a4b3838025fc226aa1"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/vimtor/action-zip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimtor%2Faction-zip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimtor%2Faction-zip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimtor%2Faction-zip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimtor%2Faction-zip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vimtor","download_url":"https://codeload.github.com/vimtor/action-zip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vimtor%2Faction-zip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260576532,"owners_count":23030591,"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-08-07T01:01:30.511Z","updated_at":"2025-06-19T19:33:47.035Z","avatar_url":"https://github.com/vimtor.png","language":"JavaScript","readme":"# action-zip\n\nAction for zipping files and folders easily\n\n## Usage\n\nThe only requirement is to use the official `actions/checkout@v2` first so the zip action has access to the repo files.\n\n```yaml\nname: Zip Files\n\non:\n  release:\n    types: [published]\n\njobs:\n  zip-files:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: vimtor/action-zip@v1.2\n        with:\n          files: dist/ manifest.json\n          dest: result.zip\n```\n\nIn this example, after a release is published, a new file named `result.zip` will be created with both the file `manifest.json` and the folder `dist` (files included).\n\n## Inputs\n\n#### `files`\n\nFiles or directories to zip, relative to GITHUB_WORKSPACE environmental variable.\n\n- **Required:** Yes\n\n#### `dest`\n\nName of the output zip file.\n\n- **Required:** No\n- **Default:** result.zip\n\n#### `recursive`\n\nWhether to add subdirectories to simply zip all files to the root.\n\n- **Required:** No\n- **Default:** true\n\nIf for example, you do the following:\n\n```yaml\n- uses: vimtor/action-zip@v1.2\n  with:\n    files: dist/ manifest.json\n    recursive: false\n    dest: result.zip\n```\n\nThe folder `dist` is included with along with its files. By contrast, if `recurise: true` (by default) All the files inside the `dist` folder will be added at the root of the zip along with `manifest.json`\n\nAlso if you want a nested file at the root, `recursive: true` is your guy.\n\n## Troubleshooting\n\nIf you want to check that the output is the desired one I recommend you to add the following step after zipping. You will be able to download the `result.zip` file.\n\n```yaml\n- uses: actions/upload-artifact@v1.1\n  with:\n    name: my-artifact\n    path: ${{ github.workspace }}/result.zip\n```\n","funding_links":[],"categories":["others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimtor%2Faction-zip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvimtor%2Faction-zip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvimtor%2Faction-zip/lists"}