Experiment
This commit is contained in:
parent
65cbdfac1b
commit
6bc671d645
2 changed files with 16 additions and 3 deletions
12
.github/workflows/builds.yaml
vendored
12
.github/workflows/builds.yaml
vendored
|
@ -21,10 +21,18 @@ jobs:
|
||||||
- name: Create the package
|
- name: Create the package
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
- name: Uploading
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: ${{matrix.config.name}} Build
|
name: ${{matrix.config.name}} Build
|
||||||
path: src/web-ext-artifacts
|
path: src/web-ext-artifacts/nightly
|
||||||
|
|
|
@ -18,4 +18,9 @@ npm test
|
||||||
|
|
||||||
print Y "Creating the final package..."
|
print Y "Creating the final package..."
|
||||||
cd src || die
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue