Ensure filenames match the Actions workflow

This commit is contained in:
nachtjasmin 2023-07-13 18:11:20 +02:00 committed by Jasmin
parent 8d9d0d5fc7
commit 5964da2d5f
2 changed files with 3 additions and 3 deletions

View file

@ -32,13 +32,13 @@ jobs:
steps:
- name: Download assets for release
run: >
gh release download ${{ github.ref }} --archive zip --dir assets
gh release download ${{ github.ref }} --archive zip --dir assets --output source.zip
gh release download ${{ github.ref }} --pattern "*firefox*" --dir assets
- uses: browser-actions/release-firefox-addon@v0.1.3
with:
addon-id: "protoots"
addon-path: "assets/protoots-firefox.zip"
source-path: "assets/ProToots-${{ github.ref }}.zip"
source-path: "assets/source.zip"
approval-note: |
The source code requires Node.js 18 or newer. To generate the source code, run:

View file

@ -2,7 +2,7 @@
"name": "protoots",
"scripts": {
"build:scripts": "node scripts/build.mjs",
"build:webext": "web-ext build --overwrite-dest",
"build:webext": "web-ext build --overwrite-dest --filename protoots-firefox.zip",
"start": "run-p -l -r watch:**",
"watch:scripts": "node scripts/watch.mjs",
"watch:webext": "web-ext run --keep-profile-changes --profile-create-if-missing --firefox-profile=.firefox-profile/",