Skip to content

Commit

Permalink
Update buildzip.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
saiftheboss7 authored Oct 10, 2024
1 parent 370241a commit 506079a
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/buildzip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,27 @@ name: Build release zip

on:
push:
branches:
- trunk
tags:
- "*"

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: |
composer install --no-dev
npm install
npm run build
- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable
env:
SLUG: my-super-cool-plugin # optional, remove if GitHub repo name matches SVN slug, including capitalization

jobs:
build:
Expand Down

0 comments on commit 506079a

Please sign in to comment.