Skip to content

Update buildzip.yml #10

Update buildzip.yml

Update buildzip.yml #10

Workflow file for this run

name: Build release zip
on:
push:
branches:
- develop
jobs:
build:
name: Build release zip
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js 12.1.0
uses: actions/setup-node@v4
with:
node-version: 12.1.0
- name: Build plugin # Remove or modify this step as needed
run: |
rm -r package-lock.json
npm i
npm run build
npm run makepot
- name: Setup PHP with specific version
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'

Check failure on line 31 in .github/workflows/buildzip.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/buildzip.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
- name: Composer install and build # Remove or modify this step as needed
run: |
composer install
composer update
composer dump-autoload -o
composer install --no-dev
composer dump-autoload -o
- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable
env:
SLUG: wedevs-project-manager # optional, remove if GitHub repo name matches SVN slug, including capitalization