Skip to content
check

GitHub Action

Generate Zikula module

1.5.0 Latest version

Generate Zikula module

check

Generate Zikula module

Generate a Zikula module from a ModuleStudio application model

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Generate Zikula module

uses: Guite/generator-action@1.5.0

Learn more about this action in Guite/generator-action

Choose a version

GitHub Action for ModuleStudio Generator

This repository contains a GitHub Action for using the standalone generator from ModuleStudio.

The standalone generator is always providing the latest Git revision of the generator's project.

Inputs

  1. Full name of your model file. Example: AcmeNews.mostapp.
  2. Name of your module including the vendor and the Module suffix. Example: Acme/NewsModule.
  3. Path to the directory containing the extensions/ folder (including trailing slash). Default "".
  4. Whether to enable verbose output (set to true). Default false.

Outputs

results

Generated files.

Example usage

uses: docker://guite/generator-action:latest
with:
  args: MultiHook.mostapp Zikula/MultiHookModule src/ true

A sample project using this GitHub Action can be found here.

Usage without GitHub Actions

The Docker image for this action is built automatically and located here: https://hub.docker.com/r/guite/generator-action.

You can run it in any given directory like this:

docker run --rm -it -w=/app -v ${PWD}:/app guite/generator-action:latest MultiHook.mostapp Zikula/MultiHookModule src/ true