GitHub Action to build MAM based project.
Required Github personal access token.
Required Path to your package in global MAM scope.
Optional Paths to your modules that you want to build reative to package. By default builds package as module.
Optional Paths to dependent module and namespace repositories. They will be loaded before build.
- name: Build app
uses: hyoo-ru/mam_build@master2
with:
package: 'piterjs'
modules: 'app intro'
Two modules $piterjs_app
and $piterjs_intro
will be built.
- name: Build app
uses: hyoo-ru/mam_build@master2
with:
package: 'piterjs/app'
The $piterjs_app
module will be built.
- name: Build app
uses: hyoo-ru/mam_build@master2
with:
token: ${{ secrets.GH_PAT }}
package: 'my/counter'
meta: |
my https://github.com/githubuser/mam_my
The $my_counter
module will be built. Before the build, the repository https://github.com/githubuser/mam_my
will be cloned at the path mam/my
, which contains my.meta.tree
. It contains links to modules used by $my_counter
.