diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea0ca91c..e471dce8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,6 +42,20 @@ jobs: path: ./builds/ChromeExtension.zip repo-token: ${{ secrets.GITHUB_TOKEN }} + # Create Chrome crx file + - name: Create Chrome CRX + uses: cardinalby/webext-buildtools-chrome-crx-action@v2 + with: + zipFilePath: ./builds/ChromeExtension.zip + crxFilePath: ./builds/ChromeExtension.crx + privateKey: ${{ secrets.PEM_KEY }} + - name: Upload Chrome.crx to release + uses: Shopify/upload-to-release@v2.0.0 + with: + name: Chrome.crx + path: ./builds/ChromeExtension.crx + repo-token: ${{ secrets.GITHUB_TOKEN }} + # Create Firefox artifacts - name: Create Firefox artifacts run: npm run build:firefox