Update main.yml

This commit is contained in:
tidy 2021-05-13 20:25:34 +08:00 committed by GitHub
parent 643bd7a4ea
commit 37596a625e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,3 +34,20 @@ jobs:
run: | run: |
echo Add other actions to build, echo Add other actions to build,
echo test, and deploy your project. echo test, and deploy your project.
- name: webext-buildtools-chrome-crx-action
# You may pin to the exact commit or the version.
# uses: cardinalby/webext-buildtools-chrome-crx-action@6ffc20d012116ea3fa0c6697382b026fc7df9535
uses: cardinalby/webext-buildtools-chrome-crx-action@2.0.0
with:
# Path to WebExtension directory
zipFilePath: 1
# Path to save result crx file
crxFilePath: 1
# Contents of private key used to sign crx file
privateKey: 1
# Path to save update.xml file for extensions hosted not on Chrome Web Store. This xml is used as response at url, specified in manifest's `update_url` key file
updateXmlPath:1 # optional
# Required, if you specified updateXmlPath. URL to the .crx file
updateXmlCodebaseUrl: 1# optional
# App Id to use in update.xml file. Generated from private key by default
updateXmlAppId: 1# optional