From 826d3f3b8e88bc90c165799b6ed9621955734bdd Mon Sep 17 00:00:00 2001 From: Sashank <76554862+Sashank999@users.noreply.github.com> Date: Wed, 28 Aug 2024 22:05:33 +0530 Subject: [PATCH] Update Release Action to use different library for AMO. --- .github/workflows/pack.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 1cc1f3844..c2b68cf19 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -155,24 +155,14 @@ jobs: apiClientSecret: ${{ secrets.CHROME_SECRET }} apiRefreshToken: ${{ secrets.CHROME_REFRESH_TOKEN }} - - name: Create Firefox .xpi - id: web-ext-build - uses: kewisch/action-web-ext@v1.0 - with: - cmd: build - source: extension - artifacts: versions - - - name: Sign Firefox .xpi - uses: kewisch/action-web-ext@v1 + - name: Release Firefox addon + uses: browser-actions/release-firefox-addon@v0.2.1 if: ${{ inputs.publish_amo }} with: - cmd: sign - artifacts: versions - source: ${{ steps.web-ext-build.outputs.target }} - channel: listed - apiKey: ${{ secrets.FIREFOX_JWT_ISSUER }} - apiSecret: ${{ secrets.FIREFOX_JWT_SECRET }} + addon-id: "{3754707b-1aa4-4c6f-96e7-5b1cdc1de5f9}" + addon-path: versions/torntools_${{ env.version }}_firefox.zip + auth-api-issuer: ${{ secrets.FIREFOX_JWT_ISSUER }} + auth-api-secret: ${{ secrets.FIREFOX_JWT_SECRET }} - name: Github Release uses: ncipollo/release-action@v1