Skip to content

Bump wp-cli/wp-cli-bundle from 2.7.1 to 2.8.1 #81

Bump wp-cli/wp-cli-bundle from 2.7.1 to 2.8.1

Bump wp-cli/wp-cli-bundle from 2.7.1 to 2.8.1 #81

Workflow file for this run

name: Build Plugin ZIP
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
php-version: latest
extensions: imagick
key: rotaract-club-finder # an be any string, change to clear the extension cache.
steps:
- uses: actions/checkout@v2
- name: Setup cache environment
id: extcache
uses: shivammathur/cache-extensions@v1
with:
php-version: ${{ env.php-version }}
extensions: ${{ env.extensions }}
key: ${{ env.key }}
- name: Cache extensions
uses: actions/cache@v2
with:
path: ${{ steps.extcache.outputs.dir }}
key: ${{ steps.extcache.outputs.key }}
restore-keys: ${{ steps.extcache.outputs.key }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ env.php-version }}
extensions: ${{ env.extensions }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cleanup composer development packages and optimize autoloader
run: composer install --no-dev --no-interaction --no-progress --optimize-autoloader --classmap-authoritative
- name: Upload Plugin
uses: actions/upload-artifact@v2
with:
name: rotaract-club-finder
path: |
./*
!tmp
!.*