Skip to content

v0.4.4

v0.4.4 #12

Workflow file for this run

name: Webstore Publish
on:
workflow_dispatch:
push:
paths:
- src/**
jobs:
zip:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: vimtor/[email protected]
with:
files: src
dest: src.zip
- uses: actions/upload-artifact@v4
with:
name: livechart-plus-${{ github.ref_name }}
path: src.zip
publish:
name: Publish webextension
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/download-artifact@v4
with:
name: livechart-plus-${{ github.ref_name }}
- name: Upload & release
uses: mnao305/[email protected]
with:
file-path: src.zip
publish: true
extension-id: ${{vars.extensionId}}
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
refresh-token: ${{ secrets.REFRESH_TOKEN }}