メインコンテンツへスキップ

Error: Bundles with the same did cannot in different stores

If you encounter the above error when publishing your blocklet to the blocklet store, like the following screenshot

Screenshot 2024-01-26 at 05.49.07.png

All you need is to update your GitHub Actions Workflow:

javascript
      - name: Upload to Blocklet Store
        uses: blocklet/action-workflow@v1
        env:

// update this according to your setup
          COMPONENT_STORE_URL: "https://test.store.blocklet.dev"
        with:
          skip-deps: true
          skip-upload: false
          skip-deploy: true
          skip-release: true
          bundle-command: yarn bundle
          working-directory: blocklets/enterprise
          store-endpoint: ${{ secrets.STORE_ENDPOINT_TEST }}
          store-access-token: ${{ secrets.STORE_ACCESS_TOKEN_TEST }}
          slack-webhook: ${{ secrets.SLACK_WEBHOOK }}