Skip to content

WPCanny Build Action

Actions
Build WPCanny plugins using Composer and NPM
v1
Latest
Star (1)

WPCanny - Action Build

A GitHub Action to build WPCanny plugins using Composer and NPM.

Managing files in the build

Use a .distignore file to exclude files from the build.

Example

name: Build release asset
on:
  release:
    types: [published]
jobs:
  build:
    name: Build release asset
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Build
        id: build
        uses: wpcanny/action-build@v1
      - name: Upload release asset
        uses: actions/upload-release-asset@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          upload_url: ${{ github.event.release.upload_url }}
          asset_path: ${{ steps.build.outputs.zip-path }}
          asset_name: ${{ github.event.repository.name }}-${{ steps.build.outputs.version }}.zip
          asset_content_type: application/zip

WPCanny Build Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Build WPCanny plugins using Composer and NPM
v1
Latest

WPCanny Build Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.