mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-21 19:13:03 +00:00
Delete Firefox release foo from release job
This commit is contained in:
parent
8f261b480c
commit
db5181ea12
1 changed files with 1 additions and 25 deletions
26
.github/workflows/prepare-release.yml
vendored
26
.github/workflows/prepare-release.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -38,27 +38,3 @@ jobs:
|
||||||
tag_name: ${{ inputs.version }}
|
tag_name: ${{ inputs.version }}
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
files: "web-ext-artifacts/*.zip"
|
files: "web-ext-artifacts/*.zip"
|
||||||
|
|
||||||
release-firefox:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: package
|
|
||||||
steps:
|
|
||||||
- name: Download assets for release
|
|
||||||
run: >
|
|
||||||
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/source.zip"
|
|
||||||
approval-note: |
|
|
||||||
The source code requires Node.js 18 or newer. To generate the source code, run:
|
|
||||||
|
|
||||||
npm ci
|
|
||||||
npm run package
|
|
||||||
|
|
||||||
To check it's functionality, you can enable it on any Mastodon page, such as: https://mastodon.social/public
|
|
||||||
license: OSL-3.0
|
|
||||||
auth-api-issuer: ${{ secrets.FIREFOX_AUTH_API_ISSUER }}
|
|
||||||
auth-api-secret: ${{ secrets.FIREFOX_AUTH_API_SECRET }}
|
|
||||||
|
|
Loading…
Reference in a new issue