English | Português Brasileiro | Español
Reusable GitHub Actions workflows for Lepidus plugins.
Validates version.xml and generates a .tar.gz package as a release asset when a tag is pushed.
Validations performed:
- The
applicationfield inversion.xmlmatches the plugin name - The
releasefield matches the pushed tag - The
datefield matches the current date
Files excluded from the package:
tests, cypress, resources, CLAUDE.md, package.json, package-lock.json, vite.config.js, i18nExtractKeys.vite.js
In the plugin repository, create .github/workflows/generate-package.yml:
on:
push:
tags:
- 'v*'
name: Create release and tar.gz package for it
jobs:
create-release:
uses: lepidus/github-workflows/.github/workflows/generate-package.yml@main
with:
plugin_name: yourPluginName- The repository must have a
version.xmlfile at the root withapplication,release, anddatefields - Tags must follow the
v*pattern (e.g.v1.0.0.0)