The action reads WebExtension's manifest file and packs directory to zip file. You can use it to upload as release artifact or to provide inputs for further build steps.
If you are interested in the building the entire deployment workflow for WebExtension, you can read this article.
Based on DirReaderBuilder package.
-
extensionDir
Required Path to WebExtension directory (relative to repository) -
zipFilePath
Specify to save result zip file to path (relative to repository). -
zipGlobPattern
Include files according to the pattern while packing crx. Default:**
-
zipIgnore
Patterns of files which will be excluded from the zip, separated by|
. Default:*.pem|.git|*.crx
extensionName
from extension's manifestextensionVersion
from extension's manifestzipFilePath
the absolute path to the result zip file
uses: cardinalby/webext-buildtools-pack-extension-dir-action@v1
with:
extensionDir: 'extension'
zipFilePath: 'build/extension.zip'