Skip to content

release: 0.11.7

release: 0.11.7 #2

name: Release
on:
push:
tags: ["*"]
env:
PLUGIN_NAME: ${{ github.event.repository.name }}
#───────────────────────────────────────────────────────────────────────────────
jobs:
build:
runs-on: macos-latest
permissions: { contents: write }
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with: { node-version: "22.x" }
- name: Build plugin
run: |
npm install
node .esbuild.mjs "production"
mkdir ${{ env.PLUGIN_NAME }}
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
- name: Release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true
files: |
${{ env.PLUGIN_NAME }}.zip
main.js
manifest.json
styles.css