Skip to content

praparing release for edge #3

praparing release for edge

praparing release for edge #3

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*.*.*-edge'
jobs:
build:
name: Publish webextension
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-node@v1
with:
node-version: 18
- name: 'Create env file'
run: |
touch .env
echo STAGE=PRD >> .env
echo BACKEND_URL="https://tabsets-72089.web.app" >> .env
echo TABSETS_PWA_URL="https://pwa.tabsets.net" >> .env
echo SENTRY_PROJECT_NAME="tabsets" >> .env
echo SENTRY_DSN="${{ secrets.SENTRY_DNS }}" >> .env
echo HOST="edge.extension" >> .env
- name: Build
run: |
yarn install
npm run "build bex (publish)"
- uses: wdzeng/edge-addon@v2
name: "Upload and release"
with:
product-id: "d5d382d8-4033-4559-a15a-c12e8a9f64e0"
zip-path: Packaged.tabsets.net.zip
api-key: ${{ secrets.EDGE_API_KEY }}
client-id: ${{ secrets.EDGE_CLIENT_ID }}