diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d6f4f46..b3e70b4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,5 +1,9 @@ name: Build release -on: [push] +on: + push: + paths: + - src/** + - extension/** jobs: build_chrome: name: "Build Chrome Extension" @@ -53,27 +57,28 @@ jobs: name: Firefox Extension (Signed) path: web-ext-artifacts/*.xpi - build_amo_firefox: - name: "Build Firefox Extension for AMO" - runs-on: ubuntu-20.04 - # Doesn't really need the Chrome build, but we can reuse its cache. - needs: build_chrome - if: github.ref == 'refs/heads/master' - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 0 + # build_amo_firefox: + # name: "Build Firefox Extension for AMO" + # runs-on: ubuntu-20.04 + # # Doesn't really need the Chrome build, but we can reuse its cache. + # needs: build_chrome + # if: github.ref == 'refs/heads/master' + # steps: + # - name: Checkout + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 - - uses: ./.github/actions/setup-for-build + # - uses: ./.github/actions/setup-for-build - - name: Build - run: pnpm build - env: - SZ_GECKO_ID: 18365332-8485-4c04-9498-2843a41ab620 + # - name: Build + # run: pnpm build + # env: + # SZ_GECKO_ID: 18365332-8485-4c04-9498-2843a41ab620 - - name: Sign XPI and upload to AMO - run: pnpm sign:firefox - env: - WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }} - WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }} + # TODO: Add --channel=listed + # - name: Sign XPI and upload to AMO + # run: pnpm sign:firefox + # env: + # WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }} + # WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}