From 7954b6830665a39e335b4ae95cd4e20d6370d854 Mon Sep 17 00:00:00 2001 From: hanyd Date: Sat, 14 Sep 2024 12:17:43 +0800 Subject: [PATCH] Add pack crx ci --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 494d86dc..57c15866 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,13 @@ jobs: - uses: montudor/action-zip@0852c26906e00f8a315c704958823928d8018b28 with: args: zip -qq -r ./builds/ChromeExtension.zip ./dist + # Create Chrome crx file + - uses: cardinalby/webext-buildtools-chrome-crx-action@v2 + with: + # zip file made at the packExtensionDir step + zipFilePath: ./builds/ChromeExtension.zip + crxFilePath: ./builds/ChromeExtension.crx + privateKey: ${{ secrets.PEM_KEY }} # Create Firefox artifacts - name: Create Firefox artifacts