How to submit through Github Actions?
I'm using the official Github Action and building my extension with
Here is my workflow file:
I have all necessary keys set in my Github secrets, but I still receive the error:
What should I do to fix it? Thanks in advance!
plasmo build --zipplasmo build --zip.Here is my workflow file:
name: CI / Publish extension
on:
workflow_dispatch:
env:
NODE_VERSION: 20.x
jobs:
web:
name: 🚀 Publish extension
runs-on: ubuntu-latest
environment: Production
steps:
- name: ✅ Checkout code
uses: actions/checkout@v4
- name: 🔥 Run tests
uses: benc-uk/workflow-dispatch@v1
with:
workflow: CI / Tests
- name: 💾 Wait for tests to succeed
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: 🧪 Test
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
allowed-conclusions: success,skipped,cancelled
- name: 🔨 Setup
uses: ./tooling/github/setup
with:
node-version: ${{ env.NODE_VERSION }}
- name: 📦 Build
run: pnpm build:extension
- name: 🗃️ Archive artifact
uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: apps/extension/build/chrome-mv3-prod
- name: 💨 Publish!
uses: PlasmoHQ/bpp@v3
with:
artifact: apps/extension/build/chrome-mv3-prod.zip
keys: ${{ secrets.EXTENSION_SUBMIT_KEYS }}name: CI / Publish extension
on:
workflow_dispatch:
env:
NODE_VERSION: 20.x
jobs:
web:
name: 🚀 Publish extension
runs-on: ubuntu-latest
environment: Production
steps:
- name: ✅ Checkout code
uses: actions/checkout@v4
- name: 🔥 Run tests
uses: benc-uk/workflow-dispatch@v1
with:
workflow: CI / Tests
- name: 💾 Wait for tests to succeed
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: 🧪 Test
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
allowed-conclusions: success,skipped,cancelled
- name: 🔨 Setup
uses: ./tooling/github/setup
with:
node-version: ${{ env.NODE_VERSION }}
- name: 📦 Build
run: pnpm build:extension
- name: 🗃️ Archive artifact
uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: apps/extension/build/chrome-mv3-prod
- name: 💨 Publish!
uses: PlasmoHQ/bpp@v3
with:
artifact: apps/extension/build/chrome-mv3-prod.zip
keys: ${{ secrets.EXTENSION_SUBMIT_KEYS }}I have all necessary keys set in my Github secrets, but I still receive the error:
What should I do to fix it? Thanks in advance!
