Merge pull request #2170 from mozilla/foo
No double zip files in the github action artifacts
This commit is contained in:
commit
0009a9e964
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
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue