-
-
Notifications
You must be signed in to change notification settings - Fork 9
34 lines (28 loc) · 845 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Create releases
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Compress Chromium build
run: |
zip -r chromium.zip _locales icons popup/dist src manifest.json updates.json
- name: Compress Firefox build
run: |
mv manifest.json manifest-chromium.json
mv manifest-firefox.json manifest.json
zip -r firefox.zip _locales icons popup/dist src manifest.json updates.json
mv manifest.json manifest-firefox.json
mv manifest-chromium.json manifest.json
- name: Upload as artifacts
uses: actions/upload-artifact@v4
with:
name: Releases
path: |
chromium.zip
firefox.zip