diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ffcd66..0ce2f70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,14 +2,9 @@ name: Build on: push: - branches: - - main - pull_request: - branches: - - main release: types: - - published + - created jobs: build: @@ -25,10 +20,15 @@ jobs: python -m pip install opencc - name: Build run: python build.py - - name: Package - run: ./package.sh - name: Upload artifact uses: actions/upload-artifact@v2 with: - name: inject-jyutping.zip - path: inject-jyutping.zip + name: inject-jyutping + path: | + _locales + background_scripts + content_scripts + icons + lib + popup + manifest.json diff --git a/README.md b/README.md index 7c7c8e3..0bd9134 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,7 @@ This project is inspired by [EYHN/Furigana](https://github.com/EYHN/Furigana).

Build pin1 jik6

-```sh -python build.py -``` - -

Package daa2 baau1

- -```sh -./package.sh -``` +See [`.github/workflows/build.yml`](.github/workflows/build.yml).

Screenshot zit6 tou4

diff --git a/manifest.json b/manifest.json index 6658461..8f9ed02 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "__MSG_extensionName__", - "version": "0.2.4", + "version": "0.2.5", "description": "__MSG_extensionDescription__", "icons": { "48": "icons/48.png", diff --git a/package.sh b/package.sh deleted file mode 100755 index 2d3920e..0000000 --- a/package.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -rm -rf inject-jyutping.zip -zip -r inject-jyutping.zip _locales background_scripts content_scripts icons lib popup manifest.json