-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fa73ed
commit 8f261b4
Showing
2 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Publish extension in stores | ||
|
||
on: | ||
release: | ||
types: | ||
- released | ||
|
||
jobs: | ||
firefox: | ||
runs-on: ubuntu-latest | ||
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/[email protected] | ||
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 }} |