Skip to content

Release

Release #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
name: Build release zip
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build plugin # Remove or modify this step as needed
run: |
npm install
npm run build
- name: Archive release
uses: thedoctor0/zip-release@0.7.1
with:
type: 'zip'
filename: 'block-theme.zip'
exclusions: '*.git* /*node_modules/*'
- name: Upload release artifact
uses: actions/upload-artifact@v4
with:
name: release
path: block-theme.zip
- name: Upload Release
uses: ncipollo/release-action@v1.14.0
with:
artifacts: "block-theme.zip"
token: ${{ secrets.GITHUB_TOKEN }}