-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.07 KB
/
split_packages.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 }}"