-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Start of migration towards Manifest V3 * Added a rules.json for Manifest V3 (for blocking) * Manifest V2 support (firefox) * Moved the manifest_v3 now to his own file * Gitignore generated_indexed_rulesets, manifest.json * Added a build without signing for testing to GH actions * Fixed manifest V2 compatibility & Firefox issues
- Loading branch information
Showing
7 changed files
with
25,040 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
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: Archive Release | ||
run: | | ||
7z a 'IDCAC-chrome.zip' -r './src/*' | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: IDCAC-chrome | ||
path: 'IDCAC-chrome.zip' | ||
|
||
- 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: "IDCAC.xpi" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: IDCAC-firefox-unsigned | ||
path: ${{ steps.web-ext-build.outputs.target }} | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/src/manifest.json | ||
/src/_metadata/generated_indexed_rulesets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.