File tree 1 file changed +15
-3
lines changed
1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,29 @@ jobs:
25
25
- name : Build Chromium-based Extension
26
26
run : |
27
27
mkdir -p dist/chrome
28
- cp -r src/* dist/chrome/
28
+ cp manifest.json dist/chrome/
29
+ cp *.js dist/chrome/ || true
30
+ cp *.css dist/chrome/ || true
31
+ cp *.html dist/chrome/ || true
32
+ cp -r images dist/chrome/ || true
33
+ cp icon*.png dist/chrome/ || true
29
34
cd dist/chrome
30
35
zip -r ../chromium.zip *
31
36
32
37
- name : Build Firefox Extension
33
38
run : |
34
39
mkdir -p dist/firefox
35
- cp -r src/* dist/firefox/
40
+ cp manifest.json dist/firefox/
41
+ cp *.js dist/firefox/ || true
42
+ cp *.css dist/firefox/ || true
43
+ cp *.html dist/firefox/ || true
44
+ cp -r images dist/firefox/ || true
45
+ cp icon*.png dist/firefox/ || true
46
+ cd dist/firefox
36
47
jq '.browser_specific_settings = {"gecko": {"id": "[email protected] "}}' manifest.json > manifest.tmp
37
48
mv manifest.tmp manifest.json
38
- web-ext build -s . -a ../firefox
49
+ web-ext build
50
+ mv web-ext-artifacts/*.zip ../firefox.zip
39
51
40
52
- name : Create Release
41
53
id : create_release
You can’t perform that action at this time.
0 commit comments