Skip to content

Merge pull request #18 from monofony/redo-cqrs-meta #14

Merge pull request #18 from monofony/redo-cqrs-meta

Merge pull request #18 from monofony/redo-cqrs-meta #14

name: Split Packages
on:
push:
branches:
- main
paths:
- 'src/**'
tags:
- '*'
workflow_dispatch: ~
jobs:
split_monorepo:
name: "Split packages"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- { path: 'meta/cqrs-meta', name: 'cqrs-meta' }
- { path: 'pack/cqrs-pack', name: 'cqrs-pack' }
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Split of ${{ matrix.package.name }}
uses: alphpaca/[email protected]
with:
package_path: 'src/${{ matrix.package.path }}'
personal_access_token: ${{ secrets.MONOPLUS_PAT }}
git_username: 'loic425'
git_email: '[email protected]'
repository_owner: "monofony"
repository_name: "${{ matrix.package.name }}"