Skip to content

Commit b0de69b

Browse files
authored
Merge pull request #13 from AlexInABox/dev
fix service worker not being included in chromium releases
2 parents f8b40c4 + dfade94 commit b0de69b

File tree

5 files changed

+61
-62
lines changed

5 files changed

+61
-62
lines changed
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
name: Publish to Chrome Web Store
22
on:
3-
push:
4-
branches: [ "main" ]
5-
workflow_dispatch:
3+
push:
4+
branches: ["main"]
5+
workflow_dispatch:
66

77
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v4
13-
- name: Install dependencies
14-
run: |
15-
sudo apt install zip
16-
- name: ZIP THEM NOW!!
17-
run: |
18-
zip -qq -r CursorConnect.zip assets customization contentScript.js flip.css flip.js popup.css popup.html popup.js tick.css && zip -j CursorConnect.zip ./platform/chromium/manifest.json
19-
- name: Upload artifact
20-
uses: actions/upload-artifact@v4
21-
with:
22-
name: CursorConnect.zip
23-
path: CursorConnect.zip
24-
- name: Upload to Chrome
25-
uses: mobilefirstllc/cws-publish@latest
26-
with:
27-
action: 'upload'
28-
zip_file: CursorConnect.zip
29-
extension_id: golmpimdjemjkffedbgjflgbcmcdcfnf
30-
client_id: ${{ secrets.CLIENT_ID }}
31-
client_secret: ${{ secrets.CLIENT_SECRET }}
32-
refresh_token: ${{ secrets.REFRESH_TOKEN }}
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Install dependencies
14+
run: |
15+
sudo apt install zip
16+
- name: ZIP THEM NOW!!
17+
run: |
18+
zip -qq -r CursorConnect.zip assets customization contentScript.js serviceWorker.js flip.css flip.js popup.css popup.html popup.js tick.css && zip -j CursorConnect.zip ./platform/chromium/manifest.json
19+
- name: Upload artifact
20+
uses: actions/upload-artifact@v4
21+
with:
22+
name: CursorConnect.zip
23+
path: CursorConnect.zip
24+
- name: Upload to Chrome
25+
uses: mobilefirstllc/cws-publish@latest
26+
with:
27+
action: "upload"
28+
zip_file: CursorConnect.zip
29+
extension_id: golmpimdjemjkffedbgjflgbcmcdcfnf
30+
client_id: ${{ secrets.CLIENT_ID }}
31+
client_secret: ${{ secrets.CLIENT_SECRET }}
32+
refresh_token: ${{ secrets.REFRESH_TOKEN }}

.github/workflows/edge_publish.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
name: Publish to Microsoft Store
22
on:
33
push:
4-
branches: [ "main" ]
4+
branches: ["main"]
55
workflow_dispatch:
66

77
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Checkout
12-
uses: actions/checkout@v4
13-
- name: Install dependencies
14-
run: |
15-
sudo apt install zip
16-
- name: ZIP THEM NOW!!
17-
run: |
18-
zip -qq -r CursorConnect.zip assets customization contentScript.js flip.css flip.js popup.css popup.html popup.js tick.css && zip -j CursorConnect.zip ./platform/chromium/manifest.json
19-
- name: Upload artifact
20-
uses: actions/upload-artifact@v4
21-
with:
22-
name: CursorConnect.zip
23-
path: CursorConnect.zip
24-
- name: Upload to Edge
25-
uses: wdzeng/edge-addon@v2
26-
with:
27-
product-id: 613aa8be-3fee-4b30-8ab8-b7d9741a8fe0
28-
zip-path: CursorConnect.zip
29-
api-key: ${{ secrets.EDGE_API_KEY }}
30-
client-id: ${{ secrets.EDGE_CLIENT_ID }}
31-
upload-only: false
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Install dependencies
14+
run: |
15+
sudo apt install zip
16+
- name: ZIP THEM NOW!!
17+
run: |
18+
zip -qq -r CursorConnect.zip assets customization contentScript.js serviceWorker.js flip.css flip.js popup.css popup.html popup.js tick.css && zip -j CursorConnect.zip ./platform/chromium/manifest.json
19+
- name: Upload artifact
20+
uses: actions/upload-artifact@v4
21+
with:
22+
name: CursorConnect.zip
23+
path: CursorConnect.zip
24+
- name: Upload to Edge
25+
uses: wdzeng/edge-addon@v2
26+
with:
27+
product-id: 613aa8be-3fee-4b30-8ab8-b7d9741a8fe0
28+
zip-path: CursorConnect.zip
29+
api-key: ${{ secrets.EDGE_API_KEY }}
30+
client-id: ${{ secrets.EDGE_CLIENT_ID }}
31+
upload-only: false

.github/workflows/firefox_publish.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: Publish to Firefox Add-ons
22
on:
3-
push:
4-
branches: [ "main" ]
5-
workflow_dispatch:
3+
push:
4+
branches: ["main"]
5+
workflow_dispatch:
66

77
jobs:
8-
98
build:
109
name: "Build"
1110
runs-on: ubuntu-latest
@@ -28,12 +27,12 @@ jobs:
2827
with:
2928
name: target.xpi
3029
path: ${{ steps.web-ext-build.outputs.target }}
31-
30+
3231
- name: "Publish"
3332
uses: trmcnvn/firefox-addon@v1
3433
with:
35-
34+
3635
xpi: ${{ steps.web-ext-build.outputs.target }}
3736
manifest: manifest.json
3837
api-key: ${{ secrets.FIREFOX_API_KEY }}
39-
api-secret: ${{ secrets.FIREFOX_API_SECRET }}
38+
api-secret: ${{ secrets.FIREFOX_API_SECRET }}

platform/chromium/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "CursorConnect",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"description": "Real-time cursor interaction for a more connected browsing experience.",
55
"permissions": ["storage", "activeTab", "webNavigation"],
66
"background": {

platform/firefox/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "CursorConnect",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"description": "Real-time cursor interaction for a more connected browsing experience.",
55
"browser_specific_settings": {
66
"gecko": {

0 commit comments

Comments
 (0)