Skip to content

Commit 8e09b7c

Browse files
authored
Add actions to build firefox extension
Change all instances of 'chrome' to 'browser' and zip as firefox-extension.
1 parent b01e11d commit 8e09b7c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release_zip.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,17 @@ jobs:
1616
with:
1717
name: chromium-extension
1818
path: ./extension/
19+
20+
- uses: actions/checkout@master
21+
- name: Replace all instances of 'chrome' with 'browser'
22+
uses: jacobtomlinson/gha-find-replace@master
23+
with:
24+
find: "chrome"
25+
replace: "browser"
26+
include: "./extension/"
27+
- uses: actions/checkout@v2
28+
- name: Upload Firefox Extension as a build artifact
29+
uses: actions/upload-artifact@v2
30+
with:
31+
name: firefox-extension
32+
path: ./extension/

0 commit comments

Comments
 (0)