forked from OhMyGuus/I-Still-Dont-Care-About-Cookies
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1015 Bytes
/
build.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
35
36
37
38
39
40
41
42
43
44
45
46
name: Build extension
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Move to manifest v3
run: |
cp src/manifest_v3.json src/manifest.json
- name: Clear hotreload
run: |
echo "" > src/data/hotreload.js
- uses: actions/upload-artifact@v3
with:
name: ISDCAC-chrome
path: ./src/*
- name: Move to manifest v2
run: |
rm src/manifest.json
cp src/manifest_v2.json src/manifest.json
- name: "web-ext build"
id: web-ext-build
uses: kewisch/action-web-ext@v1
with:
cmd: build
source: src
filename: "ISDCAC.xpi"
- uses: actions/upload-artifact@v3
with:
name: ISDCAC-firefox-source
path: ./src/*
- uses: actions/upload-artifact@v3
with:
name: ISDCAC-firefox-unsigned
path: ${{ steps.web-ext-build.outputs.target }}