diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cec6e46..14ecc7ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: privateKey: ${{ secrets.PEM_KEY }} - uses: actions/upload-artifact@v4 with: - name: Chrome.crx + name: Chrome path: ./builds/ChromeExtension.crx # Create Firefox artifacts 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