1
- name : " Submit to Web Stores "
1
+ name : " Submit to Firefox Add-ons Store "
2
2
on :
3
3
workflow_run :
4
4
workflows : ["Extension Release"]
@@ -23,25 +23,14 @@ jobs:
23
23
out-file-path : " assets" # Output directory for downloaded assets
24
24
fileName : ' *' # Download all assets
25
25
26
- - name : Find Extension Paths
26
+ - name : Find Extension Path
27
27
id : find-path
28
- # Find and output the paths to the Chrome and Firefox extension files
29
- # Required as the release actions do not support glob patterns
28
+ # Find and output the path to the extension zip
29
+ # Required as the release action does not support glob patterns
30
30
run : |
31
- CHROME_EXT_PATH=$(find assets -name "extension-*-chrome.zip" | head -n 1)
32
31
FIREFOX_EXT_PATH=$(find assets -name "extension-*-firefox.zip" | head -n 1)
33
- echo "chrome_extension_path=$CHROME_EXT_PATH" >> $GITHUB_OUTPUT
34
32
echo "firefox_extension_path=$FIREFOX_EXT_PATH" >> $GITHUB_OUTPUT
35
33
36
- - name : Chrome Web Store Publish
37
- uses :
browser-actions/[email protected]
38
- with :
39
- extension-id : ${{ secrets.CHROME_EXTENSION_ID }}
40
- extension-path : ${{ steps.find-path.outputs.chrome_extension_path }}
41
- oauth-client-id : ${{ secrets.OAUTH_CLIENT_ID }}
42
- oauth-client-secret : ${{ secrets.OAUTH_CLIENT_SECRET }}
43
- oauth-refresh-token : ${{ secrets.OAUTH_REFRESH_TOKEN }}
44
-
45
34
- name : Firefox Web Store Publish
46
35
uses :
browser-actions/[email protected]
47
36
with :
0 commit comments