https://github.com/byteever/action-build-zip
GitHub action that can be used to create zip file using the repository files.
https://github.com/byteever/action-build-zip
Last synced: 6 months ago
JSON representation
GitHub action that can be used to create zip file using the repository files.
- Host: GitHub
- URL: https://github.com/byteever/action-build-zip
- Owner: byteever
- Created: 2021-06-02T05:32:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T09:44:25.000Z (about 5 years ago)
- Last Synced: 2025-08-22T23:59:31.734Z (10 months ago)
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Action Build ZIP
GitHub action that can be used to create zip file using the repository files.
Because of [GitHub Actions limitations](https://docs.github.com/en/actions/creating-actions/about-actions#types-of-actions) container-based actions only work on **Linux**.
## exclusions
Use a `.distignore` file to exclude files in building zip file.
## Usage
```yaml
name: Create Zip File
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Generate ZIP
uses: byteever/action-build-zip@master
with:
filename: 'release.zip'
```
## `exclusions`
Use a `.distignore` file to exclude files in building zip file.
## Arguments
### `filename`
Default: repository name
The filename for the generated zip file.