Skip to content

JXBuild

Actions
Create Joomla extension zip installation files as workflow action
1.0.2
Latest
Star (2)

jxb

Joomla Extension Continuous Deployment Action

JXB allows you to build your extension, using specific instructions from a build file.

Inputs

build-file

Required The path of the file to use as a guide, for building the extension. For available syntax, please read below. Default "build.jxb".

Example usage

uses: mavrosxristoforos/[email protected]
  with:
    build-file: 'build.jxb'

Console usage

node index.js -f path/to/buildfile

Available Syntax for Build files

  • COPY:file_to_copy new_location
  • DELETE:file_or_dir_to_delete
  • MKDIR:directory_to_create
  • RENAME:old_name new_name
  • ZIPDIR:directory_to_zip
  • ZIPFILES:target_zip_file_name files to zip separated by space

Example Build file to package a Joomla Extension

# First, delete the com_example.zip file
DELETE:com_example.zip
# Then, zip the com_example directory
ZIPDIR:com_example
# Same for our module
DELETE:mod_example.zip
ZIPDIR:mod_example
# Then, create a package zip file adding a pkg_example.xml file and the zips we just created
ZIPFILES:pkg_example.zip pkg_example.xml com_example.zip mod_example.zip

JXBuild 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

Create Joomla extension zip installation files as workflow action
1.0.2
Latest

JXBuild 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.