Experiment
This commit is contained in:
@@ -21,10 +21,18 @@ jobs:
|
||||
- name: Create the package
|
||||
shell: bash
|
||||
run: |
|
||||
./bin/build-addon.sh
|
||||
./bin/build-addon.sh nightly.zip
|
||||
|
||||
- name: Repackaging
|
||||
shell: bash
|
||||
run: |
|
||||
cd src/web-ext-artifacts
|
||||
mkdir nightly
|
||||
cd nightly
|
||||
unzip ../nightly.zip
|
||||
|
||||
- name: Uploading
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: ${{matrix.config.name}} Build
|
||||
path: src/web-ext-artifacts
|
||||
path: src/web-ext-artifacts/nightly
|
||||
|
||||
+6
-1
@@ -18,4 +18,9 @@ npm test
|
||||
|
||||
print Y "Creating the final package..."
|
||||
cd src || die
|
||||
$(npm bin)/web-ext build --overwrite-dest || die
|
||||
|
||||
if [[ $# -gt 0 ]]; then
|
||||
EXTRA_PARAMS="--filename $1"
|
||||
fi
|
||||
|
||||
$(npm bin)/web-ext build --overwrite-dest $EXTRA_PARAMS || die
|
||||
|
||||
Reference in New Issue
Block a user