An open API service indexing awesome lists of open source software.

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.

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.