Woodpecker-CI (or Drone-CI) plugin, use compress for compressed files.
pipeline:
zip:
image: lunagod/drone-zip
settings:
input:
- a.txt
- a/*.js # globs are allowed
- a/**/*.js # recursive match .js file
- a/**/* # recursive match all file
- ./a # recursively compress the a folder
output: release.zip
Drone CI version 1.x
or 2
steps:
- name: zip
image: lunagod/drone-zip
settings:
input:
- a.txt
- a/*.js # globs are allowed
- a/**/*.js # recursive match .js file
- a/**/* # recursive match all file
- ./a # recursively compress the a folder
output: release.zip