Skip to content

[BUG] Extension bundle file doesn't exist: /home/runner/work/****/chromium_addon_1.0.4.zip #101

@sanishkr

Description

@sanishkr

What happened?

I already fixed issues like: updating pnpm action version, node version, but in BPP it return an error like this:

Run PlasmoHQ/bpp@v3
  with:
    keys: ***
    artifact: build/chrome-mv3-prod.zip
  env:
    PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
🟣 Plasmo Browser Platform Publish v3
🟡 QUEUE  | Prepare for chrome submission
Error: 🔴 ERROR  | Error: chrome: Extension bundle file doesn't exist: /home/runner/work/scrum-helper/scrum-helper/chromium_addon_[1](https://github.com/sanishkr/scrum-helper/actions/runs/17469481023/job/49613867896#step:8:1).0.4.zip

Please suggest a possible fix for it.
This is my workflow below.
I tried using v3 and v3.8.0 for PlasmoHQ/bpp

name: "Submit to Web Store"
on:
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Cache pnpm modules
        uses: actions/cache@v3
        with:
          path: ~/.pnpm-store
          key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
          restore-keys: |
            ${{ runner.os }}-
      - uses: pnpm/action-setup@v4
        with:
          version: latest
          run_install: true
      - name: Use Node.js 18.12
        uses: actions/setup-node@v3.4.1
        with:
          node-version: 18.12
          cache: "pnpm"
      - name: Build the extension
        run: pnpm build
      - name: Package the extension into a zip artifact
        run: pnpm package
      - name: Browser Platform Publish
        uses: PlasmoHQ/bpp@v3
        with:
          keys: ${{ secrets.BPP_KEYS }}
          artifact: build/chrome-mv3-prod.zip

Which browsers are you seeing the problem on?

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions